selector lamps
This commit is contained in:
@@ -53,6 +53,17 @@ class PanelSelectorSemanticsTest(unittest.TestCase):
|
||||
self.assertEqual(state_machine["active_mirror_frame"], "00 00 13 40 00 09")
|
||||
self.assertEqual(state_machine["clear_mirror_frame"], "00 00 13 00 00 49")
|
||||
|
||||
def test_rom_button_output_sweep_meanings_are_available(self):
|
||||
monitor_text = " ".join(describe_selector_value(0x001A, 0x4040))
|
||||
standard_text = " ".join(describe_selector_value(0x006B, 0x8000))
|
||||
shutter_text = " ".join(describe_selector_value(0x008F, 0x2000))
|
||||
white_balance_text = " ".join(describe_selector_value(0x0093, 0x8040))
|
||||
|
||||
self.assertIn("MONITOR G", monitor_text)
|
||||
self.assertIn("STANDARD", standard_text)
|
||||
self.assertIn("shutter 00.0", shutter_text)
|
||||
self.assertIn("white-balance PRESET", white_balance_text)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user