def test_field_short_short_int(self): r = Reader(struct.pack('bb', 5, -5)) assert_equals(5, r._field_short_short_int()) assert_equals(-5, r._field_short_short_int()) assert_equals(2, r._pos)