Beispiel #1
0
        /// <summary>Defines the entry point of the application.</summary>
        public static void Main()
        {
            Debug.WriteLine("General test begin...");
            TestGeneral testGeneral = new TestGeneral();

            testGeneral.TestIntervalEntitySystem();
            testGeneral.TestAttributes();
            testGeneral.TestDummies();
            testGeneral.TestHybridQueueSystem();
            testGeneral.TestMultipleSystems();
            testGeneral.TestQueueSystems();
#if !PORTABLE
            testGeneral.TestRenderMultiHealthBarSystem();
#endif
            testGeneral.TestSimpleSystem();
            testGeneral.TestSystemCommunication();
            testGeneral.TestEntityComponentSystem();
            testGeneral.TestDerivedComponents();
#if !METRO
            testGeneral.TestInitializeComponentTypes();
            testGeneral.TestInitializeComponentTypesFromAssemblies();
#endif
            Debug.WriteLine("General test end.");

#if !METRO && !PORTABLE
            Debug.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
#endif

            Debug.WriteLine("Bag test begin...");
            TestBag testBag = new TestBag();
            testBag.TestPerformance();
            testBag.TestAdd();
            testBag.TestAddRange();
            testBag.TestBagConstructor();
            testBag.TestCapacity();
            testBag.TestClear();
            testBag.TestContains();
            testBag.TestGet();
            testBag.TestGrow();
            testBag.TestIsEmpty();
            testBag.TestItem();
            testBag.TestRemove();
            testBag.TestRemoveAll();
            testBag.TestRemoveLast();
            testBag.TestSet();
            Debug.WriteLine("Bag test end.");

#if !METRO && !PORTABLE
            Debug.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
#endif
        }
Beispiel #2
0
        /// <summary>Defines the entry point of the application.</summary>
        public static void Main()
        {
            Debug.WriteLine("General test begin...");
            TestGeneral testGeneral = new TestGeneral();
            testGeneral.TestIntervalEntitySystem();
            testGeneral.TestAttributes();
            testGeneral.TestDummies();
            testGeneral.TestHybridQueueSystem();
            testGeneral.TestMultipleSystems();
            testGeneral.TestQueueSystems();
            #if !PORTABLE
            testGeneral.TestRenderMultiHealthBarSystem();
            #endif
            testGeneral.TestSimpleSystem();
            testGeneral.TestSystemCommunication();
            testGeneral.TestEntityComponentSystem();
            testGeneral.TestDerivedComponents();
            testGeneral.TestInitializeComponentTypes();
            testGeneral.TestInitializeComponentTypesFromAssemblies();
            Debug.WriteLine("General test end.");

            #if !METRO && !PORTABLE
            Debug.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
            #endif

            Debug.WriteLine("Bag test begin...");
            TestBag testBag = new TestBag();
            testBag.TestPerformance();
            testBag.TestAdd();
            testBag.TestAddRange();
            testBag.TestBagConstructor();
            testBag.TestCapacity();
            testBag.TestClear();
            testBag.TestContains();
            testBag.TestGet();
            testBag.TestGrow();
            testBag.TestIsEmpty();
            testBag.TestItem();
            testBag.TestRemove();
            testBag.TestRemoveAll();
            testBag.TestRemoveLast();
            testBag.TestSet();
            Debug.WriteLine("Bag test end.");

            #if !METRO && !PORTABLE
            Debug.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
            #endif
        }
Beispiel #3
0
        /// <summary>Defines the entry point of the application.</summary>
        public static void Main()
        {
            global::System.Diagnostics.Debug.WriteLine("General test begin...");
            TestGeneral testGeneral = new TestGeneral();
            testGeneral.TestAttributes();
            testGeneral.TestDummies();
            testGeneral.TestHybridQueueSystem();
            testGeneral.TestMultipleSystems();
            testGeneral.TestQueueSystems();
            #if !PORTABLE
            testGeneral.TestRenderMultiHealthBarSystem();
            #endif
            testGeneral.TestSimpleSystem();
            testGeneral.TestSystemCommunication();
            global::System.Diagnostics.Debug.WriteLine("General test end.");

            #if !METRO && !PORTABLE
            global::System.Diagnostics.Debug.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
            #endif

            global::System.Diagnostics.Debug.WriteLine("Bag test begin...");
            TestBag testBag = new TestBag();
            testBag.TestPerformance();
            testBag.TestAdd();
            testBag.TestAddRange();
            testBag.TestBagConstructor();
            testBag.TestCapacity();
            testBag.TestClear();
            testBag.TestContains();
            testBag.TestGet();
            testBag.TestGrow();
            testBag.TestIsEmpty();
            testBag.TestItem();
            testBag.TestRemove();
            testBag.TestRemoveAll();
            testBag.TestRemoveLast();
            testBag.TestSet();
            global::System.Diagnostics.Debug.WriteLine("Bag test end.");

            #if !METRO && !PORTABLE
            global::System.Diagnostics.Debug.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
            #endif
        }