コード例 #1
0
 public void IndexToChessNotationTest()
 {
     Assert.AreEqual("a8",Notation.IndexToChessNotation(0,0));
     Assert.AreEqual("h1", Notation.IndexToChessNotation(7, 7));
     Assert.AreEqual("a1", Notation.IndexToChessNotation(7, 0));
     Assert.AreEqual("h8", Notation.IndexToChessNotation(0, 7));
     Assert.AreEqual("d4", Notation.IndexToChessNotation(4, 3));
 
 }