public void Can_Add_New_Lines() { sut.AddPlane(p1); sut.AddPlane(p2); var results = sut.Planes.OrderBy(x => x.Name).ToArray(); Assert.AreEqual(results.Length, 2); Assert.AreEqual(results[0], p1); Assert.AreEqual(results[1], p2); }
public void Can_Add_New_Lines() { sut.AddPlane(p1); sut.AddPlane(p2); var results = sut.Planes.OrderBy(x => x.Name).ToArray(); Assert.AreEqual(results.Length, 2); Assert.AreEqual(results[0], p1); Assert.AreEqual(results[1], p2); }