Esempio n. 1
0
        public static void Register()
        {
            Suite suite = new Suite();

            suite.Name = "monster/monster";

            suite.SetSetup(delegate() {
                UnitTest_Utils.read_edit_files();
            });
            suite.NoTeardown();


            suite.AddTest("match_monster_bases", test_match_monster_bases);

            UnitTest_Main.AddSuite(suite);
        }
Esempio n. 2
0
        public static void Register()
        {
            Suite suite = new Suite();

            suite.Name = "store/store";

            suite.SetSetup(delegate() {
                UnitTest_Utils.read_edit_files();
            });
            suite.NoTeardown();


            suite.AddTest("Enough items in Armoury", test_enough_armor);
            suite.AddTest("Enough items in Weaponsmith", test_enough_weapons);
            suite.AddTest("Enough items in Temple", test_enough_temple);
            suite.AddTest("Enough items in Alchemists", test_enough_alchemy);
            suite.AddTest("Enough items in Magicians", test_enough_magic);

            UnitTest_Main.AddSuite(suite);
        }