public void CompareToTest() { TileIndex target = new TileIndex(2, 4, 2); TileIndex index = new TileIndex(2, 5, 2); int expected = -1; int actual; actual = target.CompareTo(index); Assert.AreEqual(expected, actual); }
public void CompareToTest() { // arrange var target = new TileIndex(2, 4, "2"); var index = new TileIndex(2, 5, "2"); const int expected = -1; // act int actual = target.CompareTo(index); // assert Assert.AreEqual(expected, actual); }
public void CompareToTest() { // arrange var target = new TileIndex(2, 4, "2"); var index = new TileIndex(2, 5, "2"); const int expected = -1; // act int actual = target.CompareTo(index); // assert Assert.AreEqual(expected, actual); }