public void BooleanTypeNotEqualToOtherType() { var type1 = new SqlBooleanType(SqlTypeCode.Boolean); var type2 = new SqlBinaryType(SqlTypeCode.Binary); Assert.False(type1.Equals(type2)); }
public void BooleanTypesEqual(SqlTypeCode typeCode1, SqlTypeCode typeCode2, bool expected) { var type1 = new SqlBooleanType(typeCode1); var type2 = new SqlBooleanType(typeCode2); Assert.Equal(expected, type1.Equals(type2)); }