Exemplo n.º 1
0
 def test_brightness(self):
     widget = led_backpacks.AlphaNum4Widget(address='0x73', brightness='1')
     widget.set_value('-10.25')
Exemplo n.º 2
0
 def test_long_string(self):
     widget = led_backpacks.AlphaNum4Widget(address='0x73')
     widget.set_value('foobar')
Exemplo n.º 3
0
 def test_justify_left(self):
     widget = led_backpacks.AlphaNum4Widget(address='0x73',
                                            justify_right='False')
     widget.set_value('foo')
Exemplo n.º 4
0
 def test_number(self):
     widget = led_backpacks.AlphaNum4Widget(address='0x73')
     widget.set_value('-10.25')