public void ToSqlDouble() { SqlDouble sqlTestDouble; sqlTestDouble = _sqlTrue.ToSqlDouble(); Assert.Equal(1, sqlTestDouble.Value); sqlTestDouble = _sqlFalse.ToSqlDouble(); Assert.Equal(0, sqlTestDouble.Value); }
public void ToSqlDouble() { SqlDouble SqlTestDouble; String error = "ToSqlDouble method does not work correctly "; SqlTestDouble = SqlTrue.ToSqlDouble(); Assert.AreEqual((double)1, SqlTestDouble.Value, error); SqlTestDouble = SqlFalse.ToSqlDouble(); Assert.AreEqual((double)0, SqlTestDouble.Value, error); }
public void ToSqlDouble() { SqlDouble SqlTestDouble; string error = "ToSqlDouble method does not work correctly "; SqlTestDouble = _sqlTrue.ToSqlDouble(); Assert.Equal(1, SqlTestDouble.Value); SqlTestDouble = _sqlFalse.ToSqlDouble(); Assert.Equal(0, SqlTestDouble.Value); }