Unittest Results

Start Time: 2024-09-04 07:09:27

Duration: 1.54 s

Summary: Total: 67, Pass: 66, Fail: 1

test_analysis.MergeMove Status
test_basic Pass
test_double_merge Pass
test_single_merge Pass
Total: 3, Pass: 3 -- Duration: 0 ms
test_analysis.MoveToRepr Status
test_bar Pass
test_basic Pass
test_complicated Pass
test_double Pass
test_off Pass
Total: 5, Pass: 5 -- Duration: 0 ms
test_analysis.PositionAnalysis Status
test_basic Pass
Total: 1, Pass: 1 -- Duration: 1.51 s
test_analysis_serializer.TestMoveParser Status
test_move_analysis Pass
Total: 1, Pass: 1 -- Duration: 0 ms
test_boardstate.ExtraTests Status
test_get_pipcount Pass
Total: 1, Pass: 1 -- Duration: 0 ms
test_boardstate.GetGnuIDTests Status
test_monkey Pass

AYEuASAAIAAE

Total: 1, Pass: 1 -- Duration: 0 ms
test_boardstate.GetMoveTests Status
test_basic_moves Pass
test_forced Pass
test_hits Pass
Total: 3, Pass: 3 -- Duration: 3 ms
test_elo.TestElo Status
test_different_matchlengths Pass

test_different_ratings Pass
test_no_win Fail

AssertionError: 799.0 != 801.0

Traceback (most recent call last): File "/app/tests/test_elo.py", line 35, in test_no_win self.assertEqual(elo_A, elo_B) File "/usr/local/lib/python3.11/unittest/case.py", line 873, in assertEqual assertion_func(first, second, msg=msg) File "/usr/local/lib/python3.11/unittest/case.py", line 866, in _baseAssertEqual raise self.failureException(msg) AssertionError: 799.0 != 801.0

test_same_elo Pass
Total: 4, Pass: 3, Fail: 1 -- Duration: 0 ms
test_elo.TestRating Status
test_no_win Pass

800 800 0.000 0.365 0.365 0.500 | 0.000 0.365 0.365 0.500

test_win_er_draw Pass

800 800 0.000 0.365 0.365 0.500 | 0.000 0.365 0.365 0.500 1000 800 0.463 0.516 0.236 0.557 | -0.274 0.246 0.530 0.443 1000 800 0.463 0.516 0.236 0.557 | -0.274 0.246 0.530 0.443

test_win_matchlength Pass

800 800 0.000 0.365 0.365 0.500 | 0.000 0.365 0.365 0.500 800 800 0.000 0.365 0.365 0.500 | 0.000 0.365 0.365 0.500 1.3862943611198943 3.583518938456109

Total: 3, Pass: 3 -- Duration: 0 ms
test_match.ForceQuitTest Status
test_forcequit Pass
Total: 1, Pass: 1 -- Duration: 0 ms
test_match.MatchPushTested Status
test_double_accept Pass
test_double_pass Pass
test_no_double Pass
Total: 3, Pass: 3 -- Duration: 0 ms
test_matchqueue.JoinQueue Status
test_cancel Pass
test_create_pairing Pass

SCORE None ['queue:testqueue'] SCORE None ['queue:testqueue']

test_double_join Pass

SCORE 1725433768.9179673 ['queue:testqueue_1']

test_get_pairing_key Pass
test_is_user_in_queue Pass

SCORE None ['queue:testqueue_1'] SCORE None ['queue:testqueue_1'] SCORE 1725433768.9196885 ['queue:testqueue_1'] SCORE 1725433768.9196885 ['queue:testqueue_1']

test_join Pass

SCORE None ['queue:testqueue']

Total: 6, Pass: 6 -- Duration: 12 ms
test_model.PuzzleEqLostTests Status
test_DP Pass
test_DT Pass
test_ND Pass
Total: 3, Pass: 3 -- Duration: 0 ms
test_positionclassifier.TestClassifier Status
test_is_nocontact Pass
Total: 1, Pass: 1 -- Duration: 0 ms
test_positionclassifier.TestHelper Status
test_advanced_anchor Pass
test_back_checker Pass
test_butterfly_anchor Pass
test_get_last_checker Pass
test_get_point_made Pass
test_longest_consequtive_sequence Pass
test_low_anchor Pass
test_prime Pass
Total: 8, Pass: 8 -- Duration: 0 ms
test_ranking.TestLadder Status
test_monkey Pass

[(1, 1, 38.0), (5, 2, 37.0), (4, 3, 34.5), (7, 4, 32.0), (2, 5, 30.0), (0, 6, 29.0), (3, 7, 26.5), (9, 8, 22.0), (6, 9, 21.0), (8, 10, 14.0)]

Total: 1, Pass: 1 -- Duration: 0 ms
test_statemachine.StateMachineCheckTransition Status
test_roll_game Pass
Total: 1, Pass: 1 -- Duration: 0 ms
test_statemachine.StateMachineChecker Status
test_cannot_double Pass
test_double Pass
test_no_action Pass
test_roll Pass
Total: 4, Pass: 4 -- Duration: 0 ms
test_statemachine.StateMachineDouble Status
test_no_action Pass
test_pass Pass
test_take Pass
Total: 3, Pass: 3 -- Duration: 0 ms
test_statemachine.StateMachineHandle Status
test_handle_G Pass
test_handle_IW Pass
test_handle_M Pass
test_handle_P Pass
test_handle_PR Pass
Total: 5, Pass: 5 -- Duration: 0 ms
test_statemachine.StateMachineHelper Status
test_apply_win Pass
test_can_double Pass
Total: 2, Pass: 2 -- Duration: 0 ms
test_statemachine.StateMachineRoll Status
test_checker Pass
test_invalid_checker Pass
test_no_action Pass
test_no_turn Pass
test_win_checker Pass
Total: 5, Pass: 5 -- Duration: 4 ms
test_statemachine.StateMachineSetup Status
test_setup Pass
Total: 1, Pass: 1 -- Duration: 0 ms
test_watchdog.TestInactive Status
test_basic Pass
Total: 1, Pass: 1 -- Duration: 0 ms