public void Equality5() { var graphQLLocation1 = new GraphQLLocation(); var graphQLLocation2 = new GraphQLLocation(); Assert.True(graphQLLocation1.Equals((object)graphQLLocation2)); Assert.True(graphQLLocation2.Equals((object)graphQLLocation1)); }
public void Inequality5() { var graphQLLocation1 = new GraphQLLocation(); var graphQLLocation2 = new GraphQLLocation { Column = 1, Line = 2 }; Assert.False(graphQLLocation1.Equals((object)graphQLLocation2)); Assert.False(graphQLLocation2.Equals((object)graphQLLocation1)); }
public void Equality2() { var graphQLLocation1 = new GraphQLLocation { Column = 1, Line = 2 }; var graphQLLocation2 = new GraphQLLocation { Column = 1, Line = 2 }; Assert.True(graphQLLocation1.Equals(graphQLLocation2)); Assert.True(graphQLLocation2.Equals(graphQLLocation1)); }
public void Inequality2() { var graphQLLocation1 = new GraphQLLocation { Column = 1, Line = 2 }; var graphQLLocation2 = new GraphQLLocation { Column = 2, Line = 1 }; Assert.False(graphQLLocation1.Equals(graphQLLocation2)); Assert.False(graphQLLocation2.Equals(graphQLLocation1)); }