public void StaticSaveLoad_8Bit() { Random rnd = new Random(0); int size = 1024; float[] data = new float[size]; for (int i = 0; i < size; i++) { data[i] = (float)rnd.Next(0, byte.MaxValue) / (float)byte.MaxValue; } try { RawFile.Save8Bit(fileName, data); CollectionAssert.AreEqual(data, RawFile.Load8Bit(fileName)); } finally { File.Delete(fileName); } }