예제 #1
0
        public void TestPrimitiveTypes()
        {
            byte b = PrimitiveAdapter <int, byte> .Adapt(5);

            Assert.IsTrue(b == 5);
        }
예제 #2
0
        public void Integer_Is_Mapped_To_Byte()
        {
            byte b = PrimitiveAdapter <int, byte> .Adapt(5);

            Assert.IsTrue(b == 5);
        }