public void RemoveColumnTest() { Column testColumn = new Column(new Point(2, 3)); instance.AddColumn(testColumn); instance.RemoveColumn(testColumn); Assert.AreEqual(0, instance.GetColumns().Count); }
public void RemoveColumnTest() { Point columnPosition = new Point(2, 2); instance.InsertColumn(columnPosition); instance.RemoveColumn(columnPosition); int expectedResult = 0; int actualResult = materials.GetColumns().Count; Assert.AreEqual(expectedResult, actualResult); }
public void InsertColumnCorrectly() { BlueprintEditor blueEditor = GetInstance(); Point columnPoint = new Point(1, 1); blueEditor.InsertColumn(columnPoint); int expectedResult = 1; int actualResult = materials.GetColumns().Count; Assert.AreEqual(expectedResult, actualResult); }