Exemple #1
0
 public void KnightTest()
 {
     object[] rookPosition   = { 4, "C" };
     object[] knightPosition = { 6, "D" };
     StringAssert.AreEqualIgnoringCase("Knight", KataKnightVsRook.KnightVsRook(knightPosition, rookPosition));
 }
Exemple #2
0
 public void NoneTest()
 {
     object[] rookPosition   = { 2, "F" };
     object[] knightPosition = { 7, "B" };
     StringAssert.AreEqualIgnoringCase("None", KataKnightVsRook.KnightVsRook(knightPosition, rookPosition));
 }