Ejemplo n.º 1
0
        public static void Register()
        {
            Suite suite = new Suite();
            suite.Name = "player";

            suite.SetSetup(delegate() {
                p = new CSAngband.Player.Player();
            });

            suite.NoTeardown();

            suite.AddTest("Increment Stat", test_stat_inc);
            suite.AddTest("Decrement Stat", test_stat_dec);

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

            suite.Name = "player";

            suite.SetSetup(delegate() {
                p = new CSAngband.Player.Player();
            });

            suite.NoTeardown();


            suite.AddTest("Increment Stat", test_stat_inc);
            suite.AddTest("Decrement Stat", test_stat_dec);

            UnitTest_Main.AddSuite(suite);
        }