示例#1
0
        public void ChangeOwnership_Hero3ToNone_AreEqual()
        {
            var act = TestValue3.ChangeOwnership(PlayerType.Hero3, PlayerType.None, 128);
            var exp = MineOwnership128.Empty;

            Assert.AreEqual(exp, act);
        }
示例#2
0
        public void ChangeOwnership_TestValue4ToNone_AreEqual()
        {
            var act = TestValue4.ChangeOwnership(PlayerType.Hero4, PlayerType.None, 64);
            var exp = MineOwnership64.Empty;

            Assert.AreEqual(exp, act);
        }
示例#3
0
        public void ChangeOwnership_Hero2ToHero4_AreEqual()
        {
            var act = TestValue2.ChangeOwnership(PlayerType.Hero2, PlayerType.Hero4, 128);
            var exp = TestValue4;

            Assert.AreEqual(exp, act);
        }
示例#4
0
 public void ChangeOwnership_NoneToHero1_ThrowsNewArgumentException()
 {
     TestValue.ChangeOwnership(PlayerType.None, PlayerType.Hero1, 20);
 }