Example #1
0
        public void GetState()
        {
            TestContext.WriteLine("outputAlphaDisplay, getState");

            var result = outputAlphaDisplay.getState();

            Assert.That(result.scanline, Is.EqualTo(0));
            Assert.That(result.dmdShaddedBuffer, Is.EqualTo(Enumerable.Repeat((byte)0, 0x200 * 8).ToArray()));
        }
Example #2
0
 public object getState()
 {
     if (hasAlphanumericDisplay)
     {
         return(outputAlphaDisplay.getState());
     }
     return(outputDmdDisplay.getState());
 }