Esempio n. 1
0
		public void Ram_Writes_Correct_Values()
		{
			var ram = new Ram(0xffff);

			for (int i = 0; i < 0xffff; i++)
			{
				ram.WriteValue(i,0xff);
				Assert.That(ram.ReadValue(i), Is.EqualTo(0xff));
			}
		}