Esempio n. 1
0
        public void ToSqlString()
        {
            SqlString sqlTestString;

            sqlTestString = _sqlTrue.ToSqlString();
            Assert.Equal("True", sqlTestString.Value);

            sqlTestString = _sqlFalse.ToSqlString();
            Assert.Equal("False", sqlTestString.Value);
        }
Esempio n. 2
0
        public void ToSqlString()
        {
            SqlString SqlTestString;

            String error = "ToSqlString method does not work correctly ";

            SqlTestString = SqlTrue.ToSqlString();
            Assert.AreEqual("True", SqlTestString.Value, error);

            SqlTestString = SqlFalse.ToSqlString();
            Assert.AreEqual("False", SqlTestString.Value, error);
        }