예제 #1
0
        public void CheckArraySizeCorrectOverDefaultSize()
        {
            var resultBuf = ArrayReader.GetArray <byte>(TestReadFuncLarge, 0);

            Assert.AreEqual(LARGE_BUF_SIZE, resultBuf.Length);
        }
예제 #2
0
        public void CheckArraySizeCorrectExactlyDefaultSize()
        {
            var resultBuf = ArrayReader.GetArray <byte>(TestReadFuncDefault, 0);

            Assert.AreEqual(DEFAULT_BUF_SIZE, resultBuf.Length);
        }
예제 #3
0
        public void CheckArraySizeCorrectUnderDefaultSize()
        {
            var resultBuf = ArrayReader.GetArray <byte>(TestReadFuncSmall, 0);

            Assert.AreEqual(SMALL_BUF_SIZE, resultBuf.Length);
        }