public void HasVertex_VertexExists_ReturnsTrue() { mtg tree = new mtg(); tree.scale.Add(1, 12); Assert.IsTrue(tree.HasVertex(1)); Assert.IsTrue(tree.HasVertex(0)); }
public void HasVertex_VertexDoesntExist_ReturnsFalse() { mtg tree = new mtg(); tree.scale.Add(1, 12); Assert.IsFalse(tree.HasVertex(2)); }