コード例 #1
0
 public void LineToMatrixTest(int p, int r, int c)
 {
     SetVariables.Point point = setBuildings.LineToMatrix(p);
     Assert.AreEqual(c, point.HorizontalPosition);
     Assert.AreEqual(r, point.VerticalPosition);
 }
コード例 #2
0
 public void LineToMatrixTest(int p, int r, int c)
 {
     SetVariables.Point point = setBuildings.LineToMatrix(p);
     Assert.That(point.HorizontalPosition, Is.EqualTo(c));
     Assert.That(point.VerticalPosition, Is.EqualTo(r));
 }