tests.parser.test_score module

tests/parser/test_score.py

tests.parser.test_score.test_point_calc_division(rpoint_list, point_dict, rank_dict, monkeypatch)

ポイント計算 (同点山分け)

Parameters:
  • rpoint_list (list[str])

  • point_dict (dict[str, float])

  • rank_dict (dict[str, int])

  • monkeypatch (MonkeyPatch)

Return type:

None

tests.parser.test_score.test_point_calc_seat(rpoint_list, point_dict, rank_dict, monkeypatch)

ポイント計算 (同点席順)

Parameters:
  • rpoint_list (list[str])

  • point_dict (dict[str, float])

  • rank_dict (dict[str, int])

  • monkeypatch (MonkeyPatch)

Return type:

None

tests.parser.test_score.test_score_report(input_str, result_dict, get_point, monkeypatch)

得点入力

Parameters:
  • input_str (str)

  • result_dict (dict[str, Any])

  • get_point (dict[str, float])

  • monkeypatch (MonkeyPatch)

Return type:

None