a b/Tests/Applications/test_SeatedHumanFullWithNeck.any
1
//# Note. Since these tests include main files from other
2
//# applications they alter the ANYBODY_PATH_MAINFILEDIR and 
3
//# ANYBODY_PATH_MAINFILE preprocessor flags. 
4
//#
5
//# If these flags are important to the model they must be mocked by the
6
//# test framework. This can be done by adding the following test directives. 
7
//# path = {'ANYBODY_PATH_MAINFILEDIR':'../../Application/Examples/SeatedHumanFullWithNeck',
8
//#         'ANYBODY_PATH_MAINFILE':'../../Application/Examples/SeatedHumanFullWithNeck/SeatedHumanFullWithNeck.main.any' }
9
//#
10
//save_study=["Main.Study"]
11
12
#include "../libdef.any"
13
14
#include "../../Application/Examples/SeatedHumanFullWithNeck/SeatedHumanFullWithNeck.main.any"
15
16
Main = 
17
{
18
#ifndef CREATE_IMAGE
19
  AnyOperation& RunTest = Main.RunApplication;
20
  Study = { FixTestStudyConfig TestStudyConfig = {  }; };
21
#else
22
  #include "../Cameras.any"
23
  AnyOperation& CameraInitPos = Main.Study.InitialConditions;
24
  LoadTimeCam.CameraLookAtPoint = {0.3,-0.75,0};
25
  LoadTimeCam.CameraFieldOfView = DesignVar(1.8);
26
  LoadTimeCam.CameraDirection  = {0,0,1};
27
#endif
28
};