예제 #1
0
def test_count_pass_rate_gender():
    results = Results(data_example)
    assert results.count_pass_rate(
        'Lubuskie', 'kobiety') == [25, 12.5, 0, 0, 0, 0, 0, 0, 0]
예제 #2
0
def test_count_pass_rate_all():
    results = Results(data_example)
    assert results.count_pass_rate(
        'Lubuskie', 'wszyscy') == [16.67, 16.67, 0, 0, 0, 0, 0, 0, 0]