Exemplo n.º 1
0
 public void BinaryNullReturnsExpectedInstance()
 {
     Assert.That(TSql.Binary(null, 123), Is.EqualTo(new TSqlBinaryNullValue(new TSqlBinarySize(123))));
 }
Exemplo n.º 2
0
 public void BinaryReturnsExpectedInstance()
 {
     Assert.That(TSql.Binary(new byte[] { 1, 2, 3 }, 123), Is.EqualTo(new TSqlBinaryValue(new byte[] { 1, 2, 3 }, new TSqlBinarySize(123))));
 }