1. Flávio Coelho
  2. CCP2011

Source

CCP2011 / test_intro.py

"""
Modulo de teste para intro.py
"""
from intro import *

def test_MDC_2_inteiros():
    assert MDC(1071,462) == 21
    
def test_MDC_a_0():
    assert MDC(0,543) == 543
    
def test_MDC_b_0():
    assert MDC(236,0) == 236