Exemple #1
0
        public static void CleanUpClass()
        {
            v_TestAngle = null;

            //Clean up class objects after all tests are run. It will be called only once.
            //(Use eg. for destroying loaded resources - files, pictures, etc. which are not changed during tests run)
        }
Exemple #2
0
 /// <summary>
 /// Konstruktor:
 /// Provede iniciaci souřadného systému kamery na defaultní hodnoty.
 /// <para/>
 /// Nativní souřadný systém si představujme jako :
 /// X (vodorovně zleva doprava, kladné vpravo);
 /// Y (svislé, kladné nahoru);
 /// Z (vodorovné, od pozorovatele vpřed, kladné ve směru pohledu očí)
 /// </summary>
 public CameraProperties()
 {
     Location = new Point3D(0d, 0d, 0d);
     Angle    = new Angle3D(0d, 0d, 1d);
     Zoom     = 1d;
     Rotation = 0d;
 }
Exemple #3
0
        public static void InitializeClass(TestContext context)
        {
            v_TestAngle = new Angle3D(0, 1, 2);

            //Initialize class before tests are run. It will be called only once.
            //(Use eg. for loading resources - files, pictures, etc. which are not changed during tests run)
        }