예제 #1
0
def test_has_equal_series(solution_data, trans, correct, match):
    solution_data = deepcopy(solution_data)
    student_data = trans(deepcopy(solution_data))

    s = setup_ex_state(student_data, solution_data, "E1")
    with verify_success(correct, match=match):
        s.check_chart().has_equal_series()
예제 #2
0
def test_has_equal_single_series(solution_data, number, min_range, series_type,
                                 correct, match):
    solution_data = deepcopy(solution_data)
    student_data = deepcopy(solution_data)

    s = setup_ex_state(student_data, solution_data, "E1")
    with verify_success(correct, match=match):
        s.check_chart().has_equal_single_series(number, min_range, series_type)
예제 #3
0
def test_has_equal_chart_trans_on_other_chart(solution_data, trans, correct):
    user_data = deepcopy(solution_data)
    solution_data = trans(deepcopy(solution_data))
    s = setup_ex_state(user_data, solution_data, "A1")
    with verify_success(correct):
        s.check_chart()