Пример #1
0
 def test_div(self):
     result = div(6, 3)
     self.assertEqual(result, 2)
Пример #2
0
def test_div_2():
    assert div(15, 3) == 5
Пример #3
0
def test_div_for_float():
    assert div(2, 2) == 1
Пример #4
0
def test_div():
    assert div(4, 2) == 2
Пример #5
0
def test_div_for_float():
    assert div(1, 2) == 0.5