public void GameObjectTests_PropertyExceptionRowPos() { GameObject objectOne = new GameObject(1, -1, 3); }
public void GameObjectTests_ToStringTwo() { GameObject objectOne = new GameObject(1, 5, 3); Assert.AreEqual("1", objectOne.ToString(), "Problem with the ToString()"); }
public void GameObjectTests_PropertyExceptionNumValue() { GameObject objectOne = new GameObject(-1, 1, 3); }
public void GameObjectTests_PropertyExceptionColPos() { GameObject objectOne = new GameObject(1, 1, -3); }
public void GameObjectTests_GetRowPos() { GameObject firstObject = new GameObject(3, 2, 3); Assert.AreEqual(2, firstObject.RowPosition, "Problem with the getter of row position"); }
public void GameObjectTests_GetColPos() { GameObject firstObject = new GameObject(3, 2, 4); Assert.AreEqual(4, firstObject.ColPosition, "Problem with the getter of column position"); }
public void GameObjectTests_Construtor() { GameObject firstObject = new GameObject(3, 5, 3); GameObject secondObject = new GameObject(3, 5, 3); Assert.AreEqual(firstObject.ToString(), secondObject.ToString(), "Problem with the constructor"); }