public void PeekPoke() { var mem = new MemoryModule(); mem.InitRam(); byte writeVal = (byte)Random.Range(1, 255); mem.Poke(MemoryModule.ADDR_GENERAL, writeVal); byte readVal = mem.Peek(MemoryModule.ADDR_GENERAL); Assert.AreEqual(writeVal, readVal); }