def test_str():
    q = Qualean(0)
    internal_value = q.get_number()
    assert q.__str__(
    ) == f'Qualean: internal number ={internal_value}', 'The print does not meet expectations'
Beispiel #2
0
def test_qualean_str():
    s = Qualean(1)

    assert s.__str__() == str(s.number)