Skip to content

Commit

Permalink
extend test
Browse files Browse the repository at this point in the history
  • Loading branch information
jabdoa2 committed Nov 29, 2016
1 parent ce8db96 commit f2c48e4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions mpf/tests/test_Fast.py
Expand Up @@ -135,13 +135,13 @@ def setUp(self):

}
self.rgb_cpu.expected_commands = {
'ID:': 'ID:RGB FP-CPU-002-1 00.88',
'ID:': 'ID:RGB FP-CPU-002-1 00.89',
"RF:0": "RF:P",
"RA:000000": "RA:P",
"RF:00": "RF:P",
}
self.net_cpu.expected_commands = {
'ID:': 'ID:NET FP-CPU-002-1 00.88',
'ID:': 'ID:NET FP-CPU-002-1 00.90',
'NN:0': 'NN:00,FP-I/O-3208-2 ,01.00,08,20,04,06,00,00,00,00', # 3208 board
'NN:1': 'NN:01,FP-I/O-0804-1 ,01.00,04,08,04,06,00,00,00,00', # 0804 board
'NN:2': 'NN:02,FP-I/O-1616-2 ,01.00,10,10,04,06,00,00,00,00', # 1616 board
Expand Down Expand Up @@ -183,6 +183,13 @@ def setUp(self):
self.assertEqual(16, self.machine.default_platform.io_boards[3].switch_count)
self.assertEqual(16, self.machine.default_platform.io_boards[3].driver_count)

self.assertEqual("00.88", self.machine.get_machine_var("fast_dmd_firmware"))
self.assertEqual("FP-CPU-002-1", self.machine.get_machine_var("fast_dmd_model"))
self.assertEqual("00.89", self.machine.get_machine_var("fast_rgb_firmware"))
self.assertEqual("FP-CPU-002-1", self.machine.get_machine_var("fast_rgb_model"))
self.assertEqual("00.90", self.machine.get_machine_var("fast_net_firmware"))
self.assertEqual("FP-CPU-002-1", self.machine.get_machine_var("fast_net_model"))

def test_coils(self):
self._test_pulse()
self._test_long_pulse()
Expand Down

0 comments on commit f2c48e4

Please sign in to comment.