Пример #1
0
        public void ToSqlInt64()
        {
            SqlInt64 sqlTestInt64;

            sqlTestInt64 = _sqlTrue.ToSqlInt64();
            Assert.Equal(1, sqlTestInt64.Value);

            sqlTestInt64 = _sqlFalse.ToSqlInt64();
            Assert.Equal(0, sqlTestInt64.Value);
        }
Пример #2
0
        public void ToSqlInt64()
        {
            SqlInt64 SqlTestInt64;

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

            SqlTestInt64 = SqlTrue.ToSqlInt64();
            Assert.AreEqual((long)1, SqlTestInt64.Value, error);

            SqlTestInt64 = SqlFalse.ToSqlInt64();
            Assert.AreEqual((long)0, SqlTestInt64.Value, error);
        }
Пример #3
0
        public void ToSqlInt64()
        {
            SqlInt64 SqlTestInt64;

            string error = "ToSqlInt64 method does not work correctly ";

            SqlTestInt64 = _sqlTrue.ToSqlInt64();
            Assert.Equal(1, SqlTestInt64.Value);

            SqlTestInt64 = _sqlFalse.ToSqlInt64();
            Assert.Equal(0, SqlTestInt64.Value);
        }