Ejemplo n.º 1
0
def test_calculation_choice_P():
    # the user will pick parallel and this test will confirm that parallel calculations will be used
    C_parallel = "parallel"
    calculation = Mainmenu()
    choice = calculation.Calculation_type("parallel")
    assert choice == C_parallel, "This will be true if the user chooses parallel circuit calculations"
Ejemplo n.º 2
0
def test_calculation_choice_S():
    # the user will pick series and this test will confirm that series calculations will be used
    C_series = "series"
    calculation = Mainmenu()
    choice = calculation.Calculation_type("series")
    assert choice == C_series, "This will be True if the user chooses series circuit calculations"