public void ToSqlString() { SqlByte testByte12 = new SqlByte(12); SqlByte testByte0 = new SqlByte(0); SqlByte testByte228 = new SqlByte(228); Assert.Equal("12", testByte12.ToSqlString().Value); Assert.Equal("0", testByte0.ToSqlString().Value); Assert.Equal("228", testByte228.ToSqlString().Value); }
public void ToSqlString() { SqlByte TestByte12 = new SqlByte(12); SqlByte TestByte0 = new SqlByte(0); SqlByte TestByte228 = new SqlByte(228); Assert.AreEqual("12", TestByte12.ToSqlString().Value, "ToSqlString method 1" + Error); Assert.AreEqual("0", TestByte0.ToSqlString().Value, "ToSqlString method 2" + Error); Assert.AreEqual("228", TestByte228.ToSqlString().Value, "ToSqlString method 3" + Error); }