Example #1
0
def test_parse_stroke():
    # SAT
    a = 0b11001000
    b = 0b11000100
    c = 0b11000000
    d = 0b11001000
    assert sorted(stentura._parse_stroke(a, b, c, d)) == sorted(['S-', 'A-', '-T'])
Example #2
0
 def test_parse_stroke(self):
     # SAT
     a = 0b11001000
     b = 0b11000100
     c = 0b11000000
     d = 0b11001000
     self.assertCountEqual(stentura._parse_stroke(a, b, c, d),
                           ['S-', 'A-', '-T'])
Example #3
0
 def test_parse_stroke(self):
     # SAT
     a = 0b11001000
     b = 0b11000100
     c = 0b11000000
     d = 0b11001000
     assertCountEqual(self, stentura._parse_stroke(a, b, c, d),
                      ['S-', 'A-', '-T'])
Example #4
0
 def test_parse_stroke(self):
     # SAT
     a = 0b11001000
     b = 0b11000100
     c = 0b11000000
     d = 0b11001000
     self.assertItemsEqual(stentura._parse_stroke(a, b, c, d),
                           ['S-', 'A-', '-T'])
Example #5
0
def test_parse_stroke():
    # SAT
    a = 0b11001000
    b = 0b11000100
    c = 0b11000000
    d = 0b11001000
    assert sorted(stentura._parse_stroke(a, b, c,
                                         d)) == sorted(['S-', 'A-', '-T'])