public void EqualsMethodReturnsFalseWhenTwoItemsAreNotEqualByCase() { VariableMappingIndicator vm1 = new VariableMappingIndicator(VAR_A); VariableMappingIndicator vm2 = new VariableMappingIndicator(VAR_A_UPPER); bool result = vm1.Equals(vm2); Assert.False(result); }
public void EqualsMethodReturnsTrueWhenTwoItemsAreEqual() { VariableMappingIndicator vm1 = new VariableMappingIndicator(VAR_A); VariableMappingIndicator vm2 = new VariableMappingIndicator(VAR_A); bool result = vm1.Equals(vm2); Assert.True(result); }
public void EqualsMethodReturnsFalseWhenOneItemIsNull() { VariableMappingIndicator vm1 = new VariableMappingIndicator(VAR_A); VariableMappingIndicator vm2 = new VariableMappingIndicator(null); bool result = vm1.Equals(vm2); Assert.False(result); }