public static void TestNonVolatileMemory() { HeepTest nonVolatileTest = new HeepTest("Non Volatile Memory Test"); String TestDeviceName = "Test Device"; List <byte> ID = new List <byte>(); for (byte i = 0; i < 4; i++) { ID.Add(i); } DeviceID myID = new DeviceID(ID); HeepDevice myDevice = new HeepDevice(myID); myDevice.SetDeviceName(TestDeviceName); List <byte> readMem = NonVolatileData.ReadMemoryFromFile(); int counter = 1; String foundName = HeepParser.parseDeviceNameMOP(readMem, ref counter); nonVolatileTest.AddTest(new TestData("Device Name", TestDeviceName, foundName)); nonVolatileTest.CheckTests(); }
public void LoadDeviceMemoryFromFile() { deviceMemory = NonVolatileData.ReadMemoryFromFile(); }
public void LoadDeviceMemoryFromFile() { deviceMemory = NonVolatileData.ReadMemoryFromFile(); vertices = HeepParser.GetVerticesFromBuffer(deviceMemory); }