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())); }
public object getState() { if (hasAlphanumericDisplay) { return(outputAlphaDisplay.getState()); } return(outputDmdDisplay.getState()); }