public void Ex1Methd1_position() { Exercise1 ex1 = new Exercise1(); CellPrinter cp = (CellPrinter)ex1.Method1(); Assert.Equal("Cell is on Position X:1 Y:1", cp.PrintPostion(1, 1)); }
public void Exercise1Method1Test2() { Exercise1 e1 = new Exercise1(); CellPrinter returnedObject = (CellPrinter)e1.Method1(); Assert.AreEqual(returnedObject.PrintPostion(1, 2), "Cell is on Position X:1 Y:2"); }
public void Ex1Test2() { Exercise1 ex1 = new Exercise1(); CellPrinter cellPrinter = (CellPrinter)ex1.Method1(); Assert.AreEqual(cellPrinter.PrintPostion(1, 1), "Cell is on Position X:1 Y:1"); }
public void Test1() { var x = new CellPrinter(); Assert.AreEqual("Cell is on Position X:1 Y:2", x.PrintPostion(1, 2)); }
public void Test2() { CellPrinter cellPrinter = new CellPrinter(); Assert.AreEqual("Cell is on Position X:6 Y:7", cellPrinter.PrintPostion(6, 7)); }