[38ba34]: / Tests / Applications / test_FreePostureFullBodyShoulderRhythmStatic.any

Download this file

27 lines (24 with data), 1.1 kB

//# Note. Since these tests include main files from other
//# applications they alter the ANYBODY_PATH_MAINFILEDIR and 
//# ANYBODY_PATH_MAINFILE preprocessor flags. 
//#
//# If these flags are important to the model they must be mocked by the
//# test framework. This can be done by adding the following test directives. 
//# path = {'ANYBODY_PATH_MAINFILEDIR':'../../Application/Examples/FreePosture',
//#         'ANYBODY_PATH_MAINFILE':'../../Application/Examples/FreePosture/FreePostureFullBodyShoulderRhythmStatic.Main.any' }
//#
#include "../libdef.any"

#include "../../Application/Examples/FreePosture/FreePostureFullBodyShoulderRhythmStatic.Main.any"

Main = 
{
#ifndef CREATE_IMAGE
  AnyOperation& RunTest = Main.RunApplication;
  Study = { FixTestStudyConfig TestStudyConfig = {  }; };
#else
  #include "../Cameras.any"
  AnyOperation& CameraInitPos = Main.Study.InitialConditions;
  LoadTimeCam.CameraLookAtPoint = {0,0.85,0};
  LoadTimeCam.CameraFieldOfView = DesignVar(1.9);
  LoadTimeCam.CameraDirection  = {0,0,1};
#endif
};