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); }
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); }