Example #1
0
        public void SingleTest( )
        {
            SoftBuffer softBuffer = new SoftBuffer(1000);

            softBuffer.SetValue(new float[] { 123456f, -12345f, 231412f }, 328);

            float[] read = softBuffer.GetSingle(328, 3);
            Assert.IsTrue(read[0] == 123456f && read[1] == -12345f && read[2] == 231412f);
        }