Пример #1
0
 public static void ShouldBeATie()
 {
     Assert.AreEqual("Battle Result: No victor on this battle field",
                     KataGoodVsEvil.GoodVsEvil("1 0 0 0 0 0", "1 0 0 0 0 0 0"));
 }
Пример #2
0
 public static void EvilShouldWin()
 {
     Assert.AreEqual("Battle Result: Evil eradicates all trace of Good",
                     KataGoodVsEvil.GoodVsEvil("1 1 1 1 1 1", "1 1 1 1 1 1 1"));
 }
Пример #3
0
 public static void GoodShouldTriumph()
 {
     Assert.AreEqual("Battle Result: Good triumphs over Evil",
                     KataGoodVsEvil.GoodVsEvil("0 0 0 0 0 10", "0 1 1 1 1 0 0"));
 }