Пример #1
0
        public void ShouldChangeCabinetInput()
        {
            TestContext.WriteLine("should change cabinet input");

            cpuBoard.start();
            cpuBoard.setCabinetInput(1);
            var state  = cpuBoard.getState();
            var result = state.asic?.wpc.inputState;

            Assert.That(result[0], Is.EqualTo(1));
        }
Пример #2
0
 public void setCabinetInput(byte value)
 {
     cpuBoard.setCabinetInput(value);
 }