public void Int16Test( ) { SoftBuffer softBuffer = new SoftBuffer(1000); softBuffer.SetValue(new short[] { 123, -123, 24567 }, 328); short[] read = softBuffer.GetInt16(328, 3); Assert.IsTrue(read[0] == 123 && read[1] == -123 && read[2] == 24567); }