Example #1
0
def test2(capsys):
    out = opgave9_4.ggd(5, 35)
    assert out == 5
Example #2
0
def test1(capsys):
    out = opgave9_4.ggd(1, 1)
    assert out == 1
Example #3
0
def test4(capsys):
    out = opgave9_4.ggd(2 * 3 * 5 * 7, 2 * 5 * 11)
    assert out == 10
Example #4
0
def test5(capsys):
    out = opgave9_4.ggd(3 * 5 * 13, 13 * 17)
    assert out == 13
Example #5
0
def test3(capsys):
    out = opgave9_4.ggd(35, 7)
    assert out == 7