public void CheckArraySizeCorrectOverDefaultSize() { var resultBuf = ArrayReader.GetArray <byte>(TestReadFuncLarge, 0); Assert.AreEqual(LARGE_BUF_SIZE, resultBuf.Length); }
public void CheckArraySizeCorrectExactlyDefaultSize() { var resultBuf = ArrayReader.GetArray <byte>(TestReadFuncDefault, 0); Assert.AreEqual(DEFAULT_BUF_SIZE, resultBuf.Length); }
public void CheckArraySizeCorrectUnderDefaultSize() { var resultBuf = ArrayReader.GetArray <byte>(TestReadFuncSmall, 0); Assert.AreEqual(SMALL_BUF_SIZE, resultBuf.Length); }