コード例 #1
0
 public void KnightTest()
 {
     object[] bishopPosition = { 4, "C" };
     object[] knightPosition = { 6, "D" };
     StringAssert.AreEqualIgnoringCase("Knight",
                                       KataKnightVsBishop.KnightVsBishop(knightPosition, bishopPosition));
 }
コード例 #2
0
 public void NoneTest()
 {
     object[] bishopPosition = { 2, "F" };
     object[] knightPosition = { 7, "B" };
     StringAssert.AreEqualIgnoringCase("None",
                                       KataKnightVsBishop.KnightVsBishop(knightPosition, bishopPosition));
 }