public void EqualsOperator_ReturnsFalse_OnUnequalVertex(VertexPositionColour other) { (vertex == other).ShouldBeFalse(); }
public void EqualsOperator_ReturnsTrue_OnEqualVertex(VertexPositionColour other) { (vertex == other).ShouldBeTrue(); }
public void TypeEquals_ReturnsTrue_OnEqualVertex(VertexPositionColour other) { vertex.Equals(other).ShouldBeTrue(); }
public void TypeEquals_ReturnsFalse_OnUnequalVertex(VertexPositionColour other) { vertex.Equals(other).ShouldBeFalse(); }
public void SetUp() { vertex = new VertexPositionColour(position, colour); }
public void HashCodes_ShouldNotBeEqual_ForUnequalVertices(VertexPositionColour other) { vertex.GetHashCode().ShouldNotBe(other.GetHashCode()); }