Skip to content

Commit

Permalink
fixed _get_expected_digits_ in testes
Browse files Browse the repository at this point in the history
  • Loading branch information
milcent committed Apr 17, 2021
1 parent 309068b commit 9bf0056
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_expected.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@
class TestGetExpectedDigits():

def test_1(self):
f1d = ex._test_(1)
f1d = ex._get_expected_digits_(1)
assert type(f1d) == ex.First
assert len(f1d) == 9

def test_2(self):
f1d = ex._test_(2)
f1d = ex._get_expected_digits_(2)
assert type(f1d) == ex.First
assert len(f1d) == 90

def test_3(self):
f1d = ex._test_(3)
f1d = ex._get_expected_digits_(3)
assert type(f1d) == ex.First
assert len(f1d) == 900

def test_22(self):
f1d = ex._test_(22)
f1d = ex._get_expected_digits_(22)
assert type(f1d) == ex.Second
assert len(f1d) == 10

def test_minus_2(self):
f1d = ex._test_(-2)
f1d = ex._get_expected_digits_(-2)
assert type(f1d) == ex.LastTwo
assert len(f1d) == 100

Expand Down

0 comments on commit 9bf0056

Please sign in to comment.