zengzihui / DevOps_Oct2021_Team04

This is used for Ngee Ann Polytechnic DevOps module's project.
0 stars 0 forks source link

Failed Test Scripts #310

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

Test Report

Report generated on 03-Feb-2022 at 15:39:23 by pytest-md

Summary

367 tests ran in 2.46 seconds

7 failed

tests/test-scripts/test_show_high_score.py

test_show_high_scores_choice_chosen 0.00s

def test_show_high_scores_choice_chosen():
        """
        Test whether "Show high scores" option can display the desired output when chosen in main menu
        """

        high_score_list_4x4_1 = [
            "--------- HIGH SCORES ---------",
            "Pos Player                Score",
            "--- ------                -----",
            " 1. Jerry                    48",
            " 2. Mary                     40",
            " 3. Henry                    36",
            " 4. Johnson                  34",
            "-------------------------------"
        ]

        # main.main() function is a while true loop.
        # Thus, test script needs to use "0" input value in main menu to close the while loop after checking the output.
        # Or else, test script will return index error.
        set_keyboard_input(["3","0"])

        # When using "0" to close the while loop, Dev Code will use exit() to exit the application, which will cause SystemExit error to the test script.
        # To solve this issue, pytest.raises(SystemExit) is used to check the SystemExit error in Test script that returns by the exit() used in the Dev Code.
        with pytest.raises(SystemExit) as e:
            test_application = main.main()

        result = get_display_output()
>       assert result == mainMenu + [""] + high_score_list_4x4_1 + mainMenuNoWelcome
E       AssertionError: assert ['Welcome, ma...  -----', ...] == ['Welcome, ma...  -----', ...]
E         At index 6 diff: ' 1. john                     50' != ' 1. Jerry                    48'
E         Right contains 2 more items, first extra item: '\n1. Start new game\n2. Load saved game\n3. Show high scores\n4. Choose building pool\n5. Choose city size\n\n0. Exit'
E         Full diff:
E           [
E            'Welcome, mayor of Simp City!\n'
E            '----------------------------\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E            '',
E            '--------- HIGH SCORES ---------',
E            'Pos Player                Score',
E            '--- ------                -----',
E         +  ' 1. john                     50',
E         +  ' 2. test                     50',
E         -  ' 1. Jerry                    48',
E         -  ' 2. Mary                     40',
E         -  ' 3. Henry                    36',
E         -  ' 4. Johnson                  34',
E            '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E           ]

tests/test-scripts/test_show_high_score.py:71: AssertionError

test_show_high_scores_on_two_diff_city_area 0.00s

def test_show_high_scores_on_two_diff_city_area():
        """
        Test whether the high score lists for different city areas are separated.
        """

        high_score_list_4x4_1 = [
            "--------- HIGH SCORES ---------",
            "Pos Player                Score",
            "--- ------                -----",
            " 1. Jerry                    48",
            " 2. Mary                     40",
            " 3. Henry                    36",
            " 4. Johnson                  34",
            "-------------------------------"
        ]

        high_score_list_3x3_1 = [
            "--------- HIGH SCORES ---------",
            "Pos Player                Score",
            "--- ------                -----",
            " 1. Shi Qing                 20",
            " 2. Zaidan                   17",
            " 3. Ken Liu                  17",
            " 4. Ting Ru                  15",
            " 5. Ya Ru                    15",
            "-------------------------------"
        ]

        choose_city_size_msg = [
            "Choose your city size below. Please take note that the multiplication of width and height cannot be more than 40.",
            "Enter 0 to exit this configuration."
        ]

        prompt_width = ["Enter value for width: "]
        prompt_height = ["Enter value for height: "]

        current_city_size_4x4 = [
            "--------- CURRENT CITY SIZE ---------",
            "Width: 4",
            "Height: 4",
            "-------------------------------------"
        ]

        chosen_city_size_3x3 = [
            "--------- CHOSEN CITY SIZE ---------",
            "Width: 3",
            "Height: 3",
            "------------------------------------"
        ]

        # main.main() function is a while true loop.
        # Thus, test script needs to use "0" input value in main menu to close the while loop after checking the output.
        # Or else, test script will return index error.
        set_keyboard_input(["3", "5", "3", "3", "3","0"])

        # When using "0" to close the while loop, Dev Code will use exit() to exit the application, which will cause SystemExit error to the test script.
        # To solve this issue, pytest.raises(SystemExit) is used to check the SystemExit error in Test script that returns by the exit() used in the Dev Code.
        with pytest.raises(SystemExit) as e:
            test_application = main.main()

        result = get_display_output()
>       assert result == mainMenu + [""] + high_score_list_4x4_1 +  mainMenuNoWelcome + [""] + current_city_size_4x4 + [""] + choose_city_size_msg + [""] \
            + prompt_width + prompt_height + [""] + chosen_city_size_3x3 + mainMenuNoWelcome + [""] + high_score_list_3x3_1 +  mainMenuNoWelcome
E       AssertionError: assert ['Welcome, ma...  -----', ...] == ['Welcome, ma...  -----', ...]
E         At index 6 diff: ' 1. john                     50' != ' 1. Jerry                    48'
E         Right contains 7 more items, first extra item: ' 2. Zaidan                   17'
E         Full diff:
E           [
E            'Welcome, mayor of Simp City!\n'
E            '----------------------------\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E            '',
E            '--------- HIGH SCORES ---------',
E            'Pos Player                Score',
E            '--- ------                -----',
E         +  ' 1. john                     50',
E         +  ' 2. test                     50',
E         -  ' 1. Jerry                    48',
E         -  ' 2. Mary                     40',
E         -  ' 3. Henry                    36',
E         -  ' 4. Johnson                  34',
E            '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E            '',
E            '--------- CURRENT CITY SIZE ---------',
E            'Width: 4',
E            'Height: 4',
E            '-------------------------------------',
E            '',
E            'Choose your city size below. Please take note that the multiplication of '
E            'width and height cannot be more than 40.',
E            'Enter 0 to exit this configuration.',
E            '',
E            'Enter value for width: ',
E            'Enter value for height: ',
E            '',
E            '--------- CHOSEN CITY SIZE ---------',
E            'Width: 3',
E            'Height: 3',
E            '------------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E            '',
E            '--------- HIGH SCORES ---------',
E            'Pos Player                Score',
E            '--- ------                -----',
E         -  ' 1. Shi Qing                 20',
E         -  ' 2. Zaidan                   17',
E         -  ' 3. Ken Liu                  17',
E         -  ' 4. Ting Ru                  15',
E         -  ' 5. Ya Ru                    15',
E            '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E           ]

tests/test-scripts/test_show_high_score.py:143: AssertionError

tests/test-scripts/test_update_high_score_list.py

test_update_high_scores_diff_citysize_same_cityarea_samename 0.00s

@pytest.mark.order(1)
    def test_update_high_scores_diff_citysize_same_cityarea_samename():
        """
        Test whether the application will display the high scores of different city sizes that are same city area into the same high score list.
        It also test whether the system accepts same name for different players in the high score list.
        """

        board4x1Filled_1 = [
            "     A     B     C     D  ",
            "  +-----+-----+-----+-----+",
            " 1| FAC | FAC | FAC | FAC |",
            "  +-----+-----+-----+-----+",
        ]

        gameBoard4x1_1 = [
        [Factory(0,0), Factory(1,0), Factory(2,0), Factory(3,0)]
        ]

        score_computation_4x1_1 = [
            "HSE: 0",
            "FAC: 4 + 4 + 4 + 4 = 16",
            "SHP: 0",
            "HWY: 0",
            "BCH: 0",
            "Total score: 16"
        ]

        high_score_list_2x2_1 = [
            "--------- HIGH SCORES ---------",
            "Pos Player                Score",
            "--- ------                -----",
            " 1. HelloWorldHeyDevOps       7",
            "-------------------------------"
        ]

        high_score_list_4x1_1 = [
            "--------- HIGH SCORES ---------",
            "Pos Player                Score",
            "--- ------                -----",
            " 1. HelloWorldHeyDevOps      16",
            " 2. HelloWorldHeyDevOps       7",
            "-------------------------------"
        ]

        position = get_position("high_score_4.json", 7)
        congratsMsg = ["Congratulations! You made the high score board at position " + str(position) + "!",
                        "Please enter your name (max 20 chars): "]

        set_keyboard_input(["HelloWorldHeyDevOps", "0", "HelloWorldHeyDevOps","0"])

        defaultBuildingPool = {"HSE":8, "FAC":8, "SHP": 8, "HWY":8, "BCH":8}

        test_game = Game(width = 2, height = 2)
        test_game.building_pool = defaultBuildingPool
        test_game.board = gameBoard2x2_1
        test_game.turn_num = 5
        test_game.start_new_turn()
        main_menu(True)
        position = get_position("high_score_4.json", 7)

        defaultBuildingPool2 = {"HSE":8, "FAC":8, "SHP": 8, "HWY":8, "BCH":8}

        test_game_2 = Game(width = 4, height = 1)
        test_game_2.building_pool = defaultBuildingPool2
        test_game_2.board = gameBoard4x1_1
        test_game_2.turn_num = 5
        test_game_2.start_new_turn()
        main_menu(True)
        position = get_position("high_score_4.json", 7)
        result = get_display_output()

>       assert result == [""] + finalLayoutMsg + board2x2Filled_1 + score_computation_2x2_1 + congratsMsg \
                         + [""] + high_score_list_2x2_1 + mainMenuNoWelcome + [""] \
                         + finalLayoutMsg + board4x1Filled_1 + score_computation_4x1_1 + congratsMsg \
                         + [""] + high_score_list_4x1_1  + mainMenuNoWelcome
E       AssertionError: assert ['', 'Final l...+-----+', ...] == ['', 'Final l...+-----+', ...]
E         At index 21 diff: ' 2. john                      6' != '-------------------------------'
E         Left contains 6 more items, first extra item: ' 3. john                      6'
E         Full diff:
E           [
E            '',
E            'Final layout of Simp City:',
E            '     A     B  ',
E            '  +-----+-----+',
E            ' 1| HWY | HWY |',
E            '  +-----+-----+',
E            ' 2| SHP | HSE |',
E            '  +-----+-----+',
E            'HSE: 1 = 1',
E            'FAC: 0',
E            'SHP: 2 = 2',
E            'HWY: 2 + 2 = 4',
E            'BCH: 0',
E            'Total score: 7',
E            'Congratulations! You made the high score board at position 1!',
E            'Please enter your name (max 20 chars): ',
E            '',
E            '--------- HIGH SCORES ---------',
E            'Pos Player                Score',
E            '--- ------                -----',
E            ' 1. HelloWorldHeyDevOps       7',
E         +  ' 2. john                      6',
E         +  ' 3. john2                     5',
E         +  ' 4. john3                     3',
E            '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E            '',
E            'Final layout of Simp City:',
E            '     A     B     C     D  ',
E            '  +-----+-----+-----+-----+',
E            ' 1| FAC | FAC | FAC | FAC |',
E            '  +-----+-----+-----+-----+',
E            'HSE: 0',
E            'FAC: 4 + 4 + 4 + 4 = 16',
E            'SHP: 0',
E            'HWY: 0',
E            'BCH: 0',
E            'Total score: 16',
E            'Congratulations! You made the high score board at position 1!',
E            'Please enter your name (max 20 chars): ',
E            '',
E            '--------- HIGH SCORES ---------',
E            'Pos Player                Score',
E            '--- ------                -----',
E            ' 1. HelloWorldHeyDevOps      16',
E            ' 2. HelloWorldHeyDevOps       7',
E         +  ' 3. john                      6',
E         +  ' 4. john2                     5',
E         +  ' 5. john3                     3',
E            '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E           ]

tests/test-scripts/test_update_high_score_list.py:147: AssertionError

test_update_high_scores_invalid_name 0.00s

@pytest.mark.order(3)
    def test_update_high_scores_invalid_name():
        """
        Test whether the system will display error messages when an invalid input for name is entered.
        """

        error_message = [
            "Invalid input for the name has been entered.",
            "Please remember only a max of 20 characters are allowed for the name.",
            "",
            "Please enter your name (max 20 chars): "
            ]

        set_keyboard_input(["HelloWorldHeyHeyDevOps","0"])

        defaultBuildingPool = {"HSE":8, "FAC":8, "SHP": 8, "HWY":8, "BCH":8}

        test_game = Game(width = 2, height = 2)
        test_game.building_pool = defaultBuildingPool
        test_game.board = gameBoard2x2_1
        test_game.turn_num = 5
        test_game.start_new_turn()
        position = get_position("high_score_4.json", 7)
        congratsMsg = ["Congratulations! You made the high score board at position " + str(position) + "!",
                        "Please enter your name (max 20 chars): "]
        result = get_display_output()

        #assert result ==[""] + finalLayoutMsg + board2x2Filled_1 + score_computation_2x2_1 + congratsMsg +[""] + error_message
        expectedResult= [""] + finalLayoutMsg + board2x2Filled_1 + score_computation_2x2_1 + congratsMsg +[""] + error_message

        check = all(item in result for item in expectedResult)
>       assert check == True
E       assert False == True
E         +False
E         -True

tests/test-scripts/test_update_high_score_list.py:184: AssertionError

test_update_high_scores_same_score_lower_position 0.00s

@pytest.mark.order(2)
    def test_update_high_scores_same_score_lower_position():
        """
        Test whether the position of the current player will be lowered than the previous players that have the same scores.
        """

        high_score_list_2x2_2 = [
            "--------- HIGH SCORES ---------",
            "Pos Player                Score",
            "--- ------                -----",
            " 1. HelloWorldHeyDevOps      16",
            " 2. HelloWorldHeyDevOps       7",
            " 3. Player 2                  7",
            "-------------------------------"
        ]

        set_keyboard_input(["Player 2","0", "0"])

        defaultBuildingPool = {"HSE":8, "FAC":8, "SHP": 8, "HWY":8, "BCH":8}

        test_game = Game(width = 2, height = 2)
        test_game.building_pool = defaultBuildingPool
        test_game.board = gameBoard2x2_1
        test_game.turn_num = 5
        test_game.start_new_turn()
        main_menu(True)
        position = get_position("high_score_4.json", 7)
        congratsMsg = ["Congratulations! You made the high score board at position " + str(position) + "!",
                        "Please enter your name (max 20 chars): "]
        result = get_display_output()

>       assert result == [""] + finalLayoutMsg + board2x2Filled_1 + score_computation_2x2_1 + congratsMsg \
                        + [""] + high_score_list_2x2_2 + mainMenuNoWelcome
E       AssertionError: assert ['', 'Final l...+-----+', ...] == ['', 'Final l...+-----+', ...]
E         At index 14 diff: 'Congratulations! You made the high score board at position 4!' != 'Congratulations! You made the high score board at position 5!'
E         Left contains 4 more items, first extra item: ' 7. john3                     3'
E         Full diff:
E           [
E            '',
E            'Final layout of Simp City:',
E            '     A     B  ',
E            '  +-----+-----+',
E            ' 1| HWY | HWY |',
E            '  +-----+-----+',
E            ' 2| SHP | HSE |',
E            '  +-----+-----+',
E            'HSE: 1 = 1',
E            'FAC: 0',
E            'SHP: 2 = 2',
E            'HWY: 2 + 2 = 4',
E            'BCH: 0',
E            'Total score: 7',
E         -  'Congratulations! You made the high score board at position 5!',
E         ?                                                              ^
E         +  'Congratulations! You made the high score board at position 4!',
E         ?                                                              ^
E            'Please enter your name (max 20 chars): ',
E            '',
E            '--------- HIGH SCORES ---------',
E            'Pos Player                Score',
E            '--- ------                -----',
E            ' 1. HelloWorldHeyDevOps      16',
E            ' 2. HelloWorldHeyDevOps       7',
E         +  ' 3. 0                         7',
E         -  ' 3. Player 2                  7',
E         ?    ^
E         +  ' 4. Player 2                  7',
E         ?    ^
E         +  ' 5. john                      6',
E         +  ' 6. john2                     5',
E         +  ' 7. john3                     3',
E            '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E           ]

tests/test-scripts/test_update_high_score_list.py:220: AssertionError

test_update_high_scores_never_got_top_10 0.00s

@pytest.mark.order(4)
    def test_update_high_scores_never_got_top_10():
        """
        Test whether the user will return back to the main menu without prompting for name when the user never got into the top 10.
        """

        gameBoard3x1_1 = [
        [House(0,0), Factory(1,0), House(2,0)]
        ]

        board3x1Filled_1 = [
            "     A     B     C  ",
            "  +-----+-----+-----+",
            " 1| HSE | FAC | HSE |",
            "  +-----+-----+-----+",
        ]

        score_computation_3x1_1 = [
            "HSE: 1 + 1 = 2",
            "FAC: 1 = 1",
            "SHP: 0",
            "HWY: 0",
            "BCH: 0",
            "Total score: 3"
        ]

        set_keyboard_input(["0","0"])

        defaultBuildingPool = {"HSE":8, "FAC":8, "SHP": 8, "HWY":8, "BCH":8}

        test_game = Game(width = 3, height = 1)
        test_game.building_pool = defaultBuildingPool
        test_game.board = gameBoard3x1_1
        test_game.turn_num = 4
        test_game.start_new_turn()
        main_menu(True)

        result = get_display_output()
>       assert result == [""] + finalLayoutMsg + board3x1Filled_1 + score_computation_3x1_1 + mainMenuNoWelcome
E       AssertionError: assert ['', 'Final l...+-----+', ...] == ['', 'Final l...+-----+', ...]
E         At index 12 diff: 'Congratulations! You made the high score board at position 1!' != '\n1. Start new game\n2. Load saved game\n3. Show high scores\n4. Choose building pool\n5. Choose city size\n\n0. Exit'
E         Left contains 8 more items, first extra item: ''
E         Full diff:
E           [
E            '',
E            'Final layout of Simp City:',
E            '     A     B     C  ',
E            '  +-----+-----+-----+',
E            ' 1| HSE | FAC | HSE |',
E            '  +-----+-----+-----+',
E            'HSE: 1 + 1 = 2',
E            'FAC: 1 = 1',
E            'SHP: 0',
E            'HWY: 0',
E            'BCH: 0',
E            'Total score: 3',
E         +  'Congratulations! You made the high score board at position 1!',
E         +  'Please enter your name (max 20 chars): ',
E         +  '',
E         +  '--------- HIGH SCORES ---------',
E         +  'Pos Player                Score',
E         +  '--- ------                -----',
E         +  ' 1. 0                         3',
E         +  '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E           ]

tests/test-scripts/test_update_high_score_list.py:262: AssertionError

test_update_high_scores_only_got_10_players_in_list 0.00s

@pytest.mark.order(5)
    def test_update_high_scores_only_got_10_players_in_list():
        """
        Test whether the high score list will only have the top 10 players.
        """

        position = get_position("high_score_3.json", 9)
        congratsMsg = ["Congratulations! You made the high score board at position " + str(position) + "!",
                        "Please enter your name (max 20 chars): "]

        gameBoard3x1_2 = [
        [Highway(0,0), Highway(1,0), Highway(2,0)]
        ]

        board3x1Filled_2 = [
            "     A     B     C  ",
            "  +-----+-----+-----+",
            " 1| HWY | HWY | HWY |",
            "  +-----+-----+-----+",
        ]

        score_computation_3x1_2 = [
            "HSE: 0",
            "FAC: 0",
            "SHP: 0",
            "HWY: 3 + 3 + 3 = 9",
            "BCH: 0",
            "Total score: 9"
        ]

        high_score_list_3x1_2 = [
            "--------- HIGH SCORES ---------",
            "Pos Player                Score",
            "--- ------                -----",
            " 1. Player1                   9",
            " 2. Player2                   9",
            " 3. Player3                   9",
            " 4. Player                    9",
            " 5. Player4                   5",
            " 6. Player5                   5",
            " 7. Player6                   5",
            " 8. Player7                   5",
            " 9. Player8                   5",
            "10. Player9                   5",
            "-------------------------------"
        ]

        set_keyboard_input(["Player","0","0"])

        defaultBuildingPool = {"HSE":8, "FAC":8, "SHP": 8, "HWY":8, "BCH":8}

        test_game = Game(width = 3, height = 1)
        test_game.building_pool = defaultBuildingPool
        test_game.board = gameBoard3x1_2
        test_game.turn_num = 4
        test_game.start_new_turn()
        main_menu(True)

        result = get_display_output()
>       assert result == [""] + finalLayoutMsg + board3x1Filled_2 + score_computation_3x1_2 + congratsMsg \
                        + [""] + high_score_list_3x1_2 + mainMenuNoWelcome
E       AssertionError: assert ['', 'Final l...+-----+', ...] == ['', 'Final l...+-----+', ...]
E         At index 18 diff: ' 1. Player                    9' != ' 1. Player1                   9'
E         Right contains 8 more items, first extra item: ' 6. Player5                   5'
E         Full diff:
E           [
E            '',
E            'Final layout of Simp City:',
E            '     A     B     C  ',
E            '  +-----+-----+-----+',
E            ' 1| HWY | HWY | HWY |',
E            '  +-----+-----+-----+',
E            'HSE: 0',
E            'FAC: 0',
E            'SHP: 0',
E            'HWY: 3 + 3 + 3 = 9',
E            'BCH: 0',
E            'Total score: 9',
E            'Congratulations! You made the high score board at position 1!',
E            'Please enter your name (max 20 chars): ',
E            '',
E            '--------- HIGH SCORES ---------',
E            'Pos Player                Score',
E            '--- ------                -----',
E         -  ' 1. Player1                   9',
E         ?             ^
E         +  ' 1. Player                    9',
E         ?             ^
E         +  ' 2. 0                         3',
E         -  ' 2. Player2                   9',
E         -  ' 3. Player3                   9',
E         -  ' 4. Player                    9',
E         -  ' 5. Player4                   5',
E         -  ' 6. Player5                   5',
E         -  ' 7. Player6                   5',
E         -  ' 8. Player7                   5',
E         -  ' 9. Player8                   5',
E         -  '10. Player9                   5',
E            '-------------------------------',
E            '\n'
E            '1. Start new game\n'
E            '2. Load saved game\n'
E            '3. Show high scores\n'
E            '4. Choose building pool\n'
E            '5. Choose city size\n'
E            '\n'
E            '0. Exit',
E            'Your choice? ',
E           ]

tests/test-scripts/test_update_high_score_list.py:324: AssertionError

263 passed

test/test_beach.py

test_calculate_score[game_board0-3-0-0] 0.00s

test_calculate_score[game_board1-3-3-0] 0.00s

test_calculate_score[game_board2-1-1-2] 0.00s

test/test_building.py

test_get_top_building[game_board0-building_name0-1-1] 0.00s

test_get_bot_building[game_board0-building_name0-1-1] 0.00s

test_get_right_building[game_board0-building_name0-1-1] 0.00s

test_get_left_building[game_board0-building_name0-1-1] 0.00s

test_get_top_building_out_of_bounds[game_board0-None-0-0] 0.00s

test_get_left_building_out_of_bounds[game_board0-None-0-0] 0.00s

test_get_bot_building_out_of_bounds[game_board0-None-3-3] 0.00s

test_get_right_building_out_of_bounds[game_board0-None-3-3] 0.00s

test_calculate_score 0.00s

test/test_factory.py

test_calculate_score[game_board0-4-0-0-0] 0.00s

test_calculate_score[game_board1-3-0-0-0] 0.00s

test_calculate_score[game_board2-2-0-0-0] 0.00s

test_calculate_score[game_board3-1-0-0-0] 0.00s

test_calculate_score[game_board4-1-0-1-4] 0.00s

test_calculate_score[game_board5-4-0-0-0] 0.00s

test/test_game.py

test_print_turn_num[2-2] 0.00s

test_print_turn_num[16-16] 0.00s

test_print_turn_num[3-3] 0.00s

test_print_turn_num[10-10] 0.00s

test_print_board 0.00s

test_game_menu_display 0.00s

test_game_menu_input[option_list0-2] 0.00s

test_game_menu_input[option_list1-1] 0.00s

test_game_menu_input[option_list2-0] 0.00s

test_game_menu_input[option_list3-4] 0.00s

test_game_menu_input[option_list4-0] 0.00s

test_start_new_turn 0.00s

test_start_new_turn_options[option0-1] 0.00s

test_start_new_turn_options[option1-1] 0.00s

test_start_new_turn_options[option2-1] 0.00s

test_start_new_turn_options[option3-2] 0.00s

test_start_new_turn_options[option4-3] 0.00s

test_start_new_turn_options[option5-4] 0.00s

test_start_new_turn_game_ended 0.00s

test_sub_classes[building0-BCH] 0.00s

test_sub_classes[building1-FAC] 0.00s

test_sub_classes[building2-SHP] 0.00s

test_sub_classes[building3-HWY] 0.00s

test_sub_classes[building4-HSE] 0.00s

test_add_building[a1-0-0-SHP-Shop] 0.00s

test_add_building[a2-0-1-FAC-Factory] 0.00s

test_add_building[a1-0-0-BCH-Beach] 0.00s

test_add_building[a1-0-0-HSE-House] 0.00s

test_add_building[a1-0-0-HWY-Highway] 0.00s

test_add_building[a1-0-0-MON-Monument] 0.00s

test_add_building[a1-0-0-PRK-Park] 0.00s

test_add_building_failure_random_input[a6] 0.00s

test_add_building_failure_random_input[z2] 0.00s

test_add_building_failure_random_input[2] 0.00s

test_add_building_failure_random_input[z] 0.00s

test_add_building_failure_random_input[] 0.00s

test_add_building_failure_existing_building[b1] 0.00s

test_add_building_failure_adjacent_building[a4] 0.00s

test_input_to_coordinates[a1-0-0] 0.00s

test_input_to_coordinates[a5-0-4] 0.00s

test_input_to_coordinates[b6-1-5] 0.00s

test_check_surrounding_buildings_exist[True-1-0] 0.00s

test_check_surrounding_buildings_exist[True-0-1] 0.00s

test_check_surrounding_buildings_exist[True-1-2] 0.00s

test_check_surrounding_buildings_exist[True-2-1] 0.00s

test_check_surrounding_buildings_exist[False-3-3] 0.00s

test_check_surrounding_buildings_exist[False-0-3] 0.00s

test_check_building_exist[True-1-0] 0.00s

test_check_building_exist[False-0-1] 0.00s

test_remove_building[FAC] 0.00s

test_remove_building[SHP] 0.00s

test_remove_building[BCH] 0.00s

test_remove_building[HWY] 0.00s

test_remove_building[HSE] 0.00s

test_display_building 0.00s

test_display_all_scores[game_board0-HSE: 1 + 5 + 5 + 3 + 3 = 17\nFAC: 1 = 1\nSHP: 2 + 2 + 3 = 7\nHWY: 4 + 4 + 4 + 4 = 16\nBCH: 3 + 3 + 3 = 9\nTotal score: 50] 0.00s

test_display_all_scores[game_board1-HSE: 1 + 5 + 5 + 3 + 3 = 17\nFAC: 1 = 1\nSHP: 2 + 2 + 3 = 7\nHWY: 3 + 3 + 3 = 9\nBCH: 3 + 3 + 3 = 9\nTotal score: 43] 0.00s

test_display_all_scores[game_board2-HSE: 0\nFAC: 0\nSHP: 0\nHWY: 0\nBCH: 0\nTotal score: 0] 0.00s

test_randomize_two_buildings_from_pool_random 0.00s

test_randomize_two_buildings_from_pool_when_no_building_for_type 0.00s

test_randomize_two_buildings_from_pool_when_no_building 0.00s

test_update_high_score[current_json0-updated_json0-john3-3] 0.00s

test_update_high_score[current_json1-updated_json1-john6-5] 0.00s

test_update_high_score[current_json2-updated_json2-john-6] 0.00s

test_update_high_score[current_json3-updated_json3-None-0] 0.00s

test_update_high_score[current_json4-updated_json4-newjohn-14] 0.00s

test_update_high_score_name_out_of_bounds[current_json0-john3-3-match0] 0.00s

test_calculate_total_score[game_board0-50] 0.00s

test_calculate_total_score[game_board1-43] 0.00s

test_calculate_total_score[game_board2-0] 0.00s

test_display_high_score[json_output0-\n--------- HIGH SCORES ---------\nPos Player Score\n--- ------ -----\n 1. john 6\n 2. john2 5\n 3. john3 3\n-------------------------------] 0.00s

test_display_high_score[json_output1-\n--------- HIGH SCORES ---------\nPos Player Score\n--- ------ -----\n 1. john 6\n 2. john2 5\n 3. john6 5\n 4. john3 3\n 5. john4 3\n 6. john5 2\n-------------------------------] 0.00s

test_display_high_score[json_output2-\n--------- HIGH SCORES ---------\nPos Player Score\n--- ------ -----\n 1. john 6\n-------------------------------] 0.00s

test_display_high_score[json_output3-\n--------- HIGH SCORES ---------\nPos Player Score\n--- ------ -----\n 1. john 15\n 2. john1 14\n 3. john2 13\n 4. john3 12\n 5. john4 11\n 6. john5 10\n 7. john6 9\n 8. john7 8\n 9. john8 7\n10. john9 6\n-------------------------------] 0.00s

test_end_of_game_high_score_display[game_board0-Congratulations! You made the high score board at position 1!\nPlease enter your name (max 20 chars): \n\n--------- HIGH SCORES ---------\nPos Player Score\n--- ------ -----\n 1. john 50\n--------------------------------john] 0.00s

test_save_game[game_board0-match0] 0.00s

test_end_of_game_display[game_board0-match0] 0.00s

test/test_highway.py

test_calculate_score[game_board0-1-0-0] 0.00s

test_calculate_score[game_board1-2-0-0] 0.00s

test_calculate_score[game_board2-3-0-0] 0.00s

test_calculate_score[game_board3-3-1-0] 0.00s

test_calculate_score[game_board4-3-2-0] 0.00s

test/test_house.py

test_calculate_score[game_board0-0-0-0] 0.00s

test_calculate_score[game_board1-1-0-0] 0.00s

test_calculate_score[game_board2-1-0-0] 0.00s

test_calculate_score[game_board3-2-0-0] 0.00s

test_calculate_score[game_board4-4-1-1] 0.00s

test_calculate_score[game_board5-1-0-0] 0.00s

test_calculate_score[game_board6-1-1-1] 0.00s

test_calculate_score[game_board7-1-1-1] 0.00s

test_calculate_score[game_board8-1-1-1] 0.00s

test/test_json.py

test_load_json_file_does_not_exist 0.00s

test_update_json 0.00s

test_load_json 0.00s

test/test_menu.py

test_main_menu_display[option_list0] 0.00s

test_main_menu_display_without_welcome[option_list0] 0.00s

test_main_menu_input_success[option_list0-2] 0.00s

test_main_menu_input_success[option_list1-1] 0.00s

test_main_menu_input_success[option_list2-0] 0.00s

test_main_menu_input_invalid_inputs[option_list0-2] 0.00s

test_main_menu_input_invalid_inputs[option_list1-1] 0.00s

test_main_menu_input_invalid_inputs[option_list2-0] 0.00s

test_main_menu_input_invalid_inputs[option_list3-4] 0.00s

test_main_menu_input_invalid_inputs[option_list4-0] 0.00s

test_start_new_game 0.00s

test_main_menu_exit_program 0.00s

test_load_game_success 0.00s

test_load_game_fail 0.00s

test_load_game_no_save_file 0.00s

test_choose_city_size[option_list0-expected0] 0.00s

test_choose_city_size[option_list1-expected1] 0.00s

test_choose_city_size[option_list2-expected2] 0.00s

test_choose_city_size[option_list3-expected3] 0.00s

test_choose_city_size[option_list4-expected4] 0.00s

test_choose_city_size[option_list5-expected5] 0.00s

test_choose_city_size[option_list6-expected6] 0.00s

test_choose_city_size[option_list7-expected7] 0.00s

test_choose_city_size[option_list8-expected8] 0.00s

test_choose_city_size[option_list9-expected9] 0.00s

test_choose_city_size[option_list10-expected10] 0.00s

test_choose_city_size[option_list11-expected11] 0.00s

test_choose_city_size[option_list12-expected12] 0.00s

test_success_choose_building_pool[option_list0-expected0] 0.00s

test_failure_choose_building_pool[option_list0-\nInvalid input has been entered.\nPlease enter number for the option (e.g. 1) and it needs to be within the range.] 0.00s

test_failure_choose_building_pool[option_list1-\nInvalid input has been entered.\nPlease enter number for the option (e.g. 1) and it needs to be within the range.] 0.00s

test_failure_choose_building_pool[option_list2-\nInvalid input has been entered.\nPlease enter number for the option (e.g. 1) and it needs to be within the range.] 0.00s

test_exit_choose_building_pool[option_list0-Configuring building pool is unsuccessful.\nBuilding pool remains the same as the current building pool.] 0.00s

test_print_building_display[building_list0-\n--------- CURRENT BUILDING POOL ---------\n[BCH, FAC, HSE, HWY, MON]\n-----------------------------------------] 0.00s

test_first_time_choose_building_pool_message[option_list0-\n--------- CURRENT BUILDING POOL ---------\n[HSE, FAC, SHP, HWY, BCH]\n-----------------------------------------\n\nChoose your new building pool below.\n\n1. Beach (BCH)\n2. Factory (FAC)\n3. House (HSE)\n4. Highway (HWY)\n5. Monument (MON)\n6. Park (PRK)\n7. Shop (SHP)\n\n0. Exit to main menu\n] 0.00s

test_no_show_time_choose_building_pool_message[option_list0-\n--------- CURRENT BUILDING POOL ---------\n[BCH]\n-----------------------------------------\n\n1. Factory (FAC)\n2. House (HSE)\n3. Highway (HWY)\n4. Monument (MON)\n5. Park (PRK)\n6. Shop (SHP)\n\n0. Exit to main menu\n] 0.00s

test/test_monument.py

test_calculate_score[game_board0-4-0-0] 0.00s

test_calculate_score[game_board1-4-0-0] 0.00s

test_calculate_score[game_board2-2-0-0] 0.00s

test_calculate_score[game_board3-1-0-1] 0.00s

test_calculate_score[game_board4-4-0-1] 0.00s

test/test_park.py

test_calculate_score[game_board0-1-0-3-7] 0.00s

test_calculate_score[game_board1-1-0-2-6] 0.00s

test_calculate_score[game_board2-1-0-1-5] 0.00s

test_calculate_score[game_board3-6-4-0-4] 0.00s

test_calculate_score[game_board4-8-3-0-3] 0.00s

test_calculate_score[game_board5-5-2-0-2] 0.00s

test_calculate_score[game_board6-2-1-0-1] 0.00s

test_calculate_score[game_board7-1-0-0-0] 0.00s

test/test_shop.py

test_calculate_score[game_board0-0-0-0] 0.00s

test_calculate_score[game_board1-1-0-0] 0.00s

test_calculate_score[game_board2-2-1-0] 0.00s

test_calculate_score[game_board3-3-1-0] 0.00s

test_calculate_score[game_board4-4-1-1] 0.00s

tests/test-scripts/test_build_building.py

test_build_a_building 0.00s

test_build_a_building_invalid_input[invalidInput0] 0.00s

test_build_a_building_invalid_input[invalidInput1] 0.00s

test_build_a_building_invalid_input[invalidInput2] 0.00s

test_build_a_building_invalid_location 0.00s

test_build_a_building_build_on_existing_building 0.00s

tests/test-scripts/test_choose_building_pool.py

test_choose_building_pool 0.00s

test_choose_building_pool_invalid_input[invalidInput0-expectedResult0] 0.00s

test_choose_building_pool_invalid_input[invalidInput1-expectedResult1] 0.00s

test_choose_building_pool_invalid_input[invalidInput2-expectedResult2] 0.00s

test_choose_building_pool_out_of_range[invalidInput0-expectedResult0] 0.00s

test_choose_building_pool_out_of_range[invalidInput1-expectedResult1] 0.00s

test_choose_building_pool_out_of_range[invalidInput2-expectedResult2] 0.00s

test_choose_building_pool_out_of_range[invalidInput3-expectedResult3] 0.00s

test_choose_building_pool_out_of_range[invalidInput4-expectedResult4] 0.00s

tests/test-scripts/test_choose_city_size.py

test_change_city_size_main_menu 0.00s

test_change_city_size_game 0.00s

test_exit_change_city_size[exitInput0-expectedResult0] 0.00s

test_exit_change_city_size[exitInput1-expectedResult1] 0.00s

test_change_city_size_invalid_size 0.00s

test_invalid_input_change_city_size[invalidInput0-expectedResult0] 0.00s

test_invalid_input_change_city_size[invalidInput1-expectedResult1] 0.00s

test_invalid_input_change_city_size[invalidInput2-expectedResult2] 0.00s

test_invalid_input_change_city_size[invalidInput3-expectedResult3] 0.00s

test_invalid_input_change_city_size[invalidInput4-expectedResult4] 0.00s

tests/test-scripts/test_game_menu.py

test_game_menu_display_board 0.00s

test_game_menu_display_options 0.00s

test_game_menu_display_board_options 0.00s

test_game_menu_invalid_input[-1-expectedResult0] 0.00s

test_game_menu_invalid_input[asdf-expectedResult1] 0.00s

test_game_menu_invalid_input[13@!$a-expectedResult2]` 0.00s

test_game_menu_invalid_input[9-expectedResult3] 0.00s

test_game_menu_invalid_input[-expectedResult4] 0.00s

test_game_menu_return_main_menu 0.00s

tests/test-scripts/test_load_game.py

test_load_game_no_save 0.00s

test_load_game_empty_board 0.00s

test_load_game_with_save_different_board_sizes[printBoard0-3] 0.00s

test_load_game_with_save_different_board_sizes[printBoard1-4] 0.00s

test_load_game_with_save_different_board_sizes[printBoard2-5] 0.00s

tests/test-scripts/test_main_menu.py

test_main_menu_to_game_menu 0.00s

test_main_menu 0.00s

test_main_menu_invalid_input[-1] 0.00s

test_main_menu_invalid_input[asdf] 0.00s

test_main_menu_invalid_input[13@!$a]` 0.00s

test_main_menu_invalid_input[9] 0.00s

test_main_menu_invalid_input[] 0.00s

tests/test-scripts/test_main_menu_exit.py

test_main_menu_exit 0.00s

tests/test-scripts/test_randomized_buildings.py

test_compare_randomized_building_5_turns 0.00s

test_check_randomized_building_in_building_pool 0.00s

test_randomized_building_options_1_building_left 0.00s

tests/test-scripts/test_save_game.py

test_save_game[input0-4-boardState0-boardStatePlaced0] 0.00s

test_save_game[input1-5-boardState1-boardStatePlaced1] 0.00s

test_save_game[input2-3-boardState2-boardStatePlaced2] 0.00s

test_save_game[input3-4-boardState3-boardStatePlaced3] 0.00s

test_save_game_empty_board 0.00s

test_save_game_existing_save 0.00s

tests/test-scripts/test_show_high_score.py

test_show_high_scores_options_in_main_menu 0.00s

test_show_high_scores_empty_list 0.00s

tests/test-scripts/test_update_high_score_list.py

test_update_high_scores_display_separately_for_diff_city_area 0.00s

tests/test-scripts/test_view_current_score.py

test_view_current_score_empty 0.00s

test_view_current_score_bch_center_of_city 0.00s

test_view_current_score_bch_right_or_left_of_city 0.00s

test_view_current_score_fac_single_fac 0.00s

test_view_current_score_fac_4fac 0.00s

test_view_current_score_fac_5fac 0.00s

test_view_current_score_hse_single_hse 0.00s

test_view_current_score_hse_2hse_adjacent 0.00s

test_view_current_score_hse_2bch_center 0.00s

test_view_current_score_hse_2shp_adjacent_to_hse_but_not_to_each_other 0.00s

test_view_current_score_hse_1fac_adjacent 0.00s

test_view_current_score_shp_single_shp 0.00s

test_view_current_score_shp_single_bch_adjacent_not_in_center 0.00s

test_view_current_score_shp_single_bch_adjacent_single_fac_adjacent_bch_not_in_center 0.00s

test_view_current_score_shp_2_bch_adjacent_single_fac_adjacent_bch_not_in_center 0.00s

test_view_current_score_hwy_single_hwy 0.00s

test_view_current_score_hwy_2_hwy_adjacent_on_single_row 0.00s

test_view_current_score_hwy_4_hwy_adjacent_on_single_row 0.00s

test_view_currentscore_hwy_2_hwy_adjacent_on_single_row_1hwy_adjacent_on_different_row 0.00s

test_view_current_score_prk[input0-2-buildingBoard0-currentScore0-actualBoard0] 0.00s

test_view_current_score_prk[input1-3-buildingBoard1-currentScore1-actualBoard1] 0.00s

test_view_current_score_prk[input2-4-buildingBoard2-currentScore2-actualBoard2] 0.00s

test_view_current_score_prk[input3-5-buildingBoard3-currentScore3-actualBoard3] 0.00s

test_view_current_score_prk[input4-6-buildingBoard4-currentScore4-actualBoard4] 0.00s

test_view_current_score_prk[input5-7-buildingBoard5-currentScore5-actualBoard5] 0.00s

test_view_current_score_prk[input6-8-buildingBoard6-currentScore6-actualBoard6] 0.00s

test_view_current_score_prk[input7-9-buildingBoard7-currentScore7-actualBoard7] 0.00s

test_view_current_score_mon[input0-2-buildingBoard0-currentScore0-actualBoard0] 0.00s

test_view_current_score_mon[input1-2-buildingBoard1-currentScore1-actualBoard1] 0.00s

test_view_current_score_mon[input2-4-buildingBoard2-currentScore2-actualBoard2] 0.00s

test_view_current_score_mon[input3-5-buildingBoard3-currentScore3-actualBoard3] 0.00s

tests/test-scripts/test_view_final_score.py

test_view_final_score[input0-boardState0-1-scoreBoard0-heightWidth0-actualBoard0-boardStateFilled0] 0.00s

test_view_final_score[input1-boardState1-4-scoreBoard1-heightWidth1-actualBoard1-boardStateFilled1] 0.00s

test_view_final_score[input2-boardState2-9-scoreBoard2-heightWidth2-actualBoard2-boardStateFilled2] 0.00s

test_view_final_score[input3-boardState3-16-scoreBoard3-heightWidth3-actualBoard3-boardStateFilled3] 0.00s

test_view_final_score[input4-boardState4-25-scoreBoard4-heightWidth4-actualBoard4-boardStateFilled4] 0.00s

test_view_final_score[input5-boardState5-36-scoreBoard5-heightWidth5-actualBoard5-boardStateFilled5] 0.00s

test_view_final_score[input6-boardState6-16-scoreBoard6-heightWidth6-actualBoard6-boardStateFilled6] 0.00s

96 skipped

tests/test-scripts/test_build_building_refactored.py

test_build_a_building 0.00s

test_build_a_building_invalid_input[invalidInput0] 0.00s

test_build_a_building_invalid_input[invalidInput1] 0.00s

test_build_a_building_invalid_input[invalidInput2] 0.00s

test_build_a_building_invalid_location 0.00s

test_build_a_building_build_on_existing_building 0.00s

tests/test-scripts/test_choose_building_pool_refactored.py

test_choose_building_pool 0.00s

test_choose_building_pool_invalid_input[invalidInput0-expectedResult0] 0.00s

test_choose_building_pool_invalid_input[invalidInput1-expectedResult1] 0.00s

test_choose_building_pool_invalid_input[invalidInput2-expectedResult2] 0.00s

test_choose_building_pool_out_of_range[invalidInput0-expectedResult0] 0.00s

test_choose_building_pool_out_of_range[invalidInput1-expectedResult1] 0.00s

test_choose_building_pool_out_of_range[invalidInput2-expectedResult2] 0.00s

test_choose_building_pool_out_of_range[invalidInput3-expectedResult3] 0.00s

test_choose_building_pool_out_of_range[invalidInput4-expectedResult4] 0.00s

tests/test-scripts/test_choose_city_size_refactored.py

test_change_city_size_main_menu 0.00s

test_change_city_size_game 0.00s

test_exit_change_city_size[exitInput0-expectedResult0] 0.00s

test_exit_change_city_size[exitInput1-expectedResult1] 0.00s

test_change_city_size_invalid_size 0.00s

test_invalid_input_change_city_size[invalidInput0-expectedResult0] 0.00s

test_invalid_input_change_city_size[invalidInput1-expectedResult1] 0.00s

test_invalid_input_change_city_size[invalidInput2-expectedResult2] 0.00s

test_invalid_input_change_city_size[invalidInput3-expectedResult3] 0.00s

test_invalid_input_change_city_size[invalidInput4-expectedResult4] 0.00s

tests/test-scripts/test_game_menu_refactored.py

test_game_menu_display_board 0.00s

test_game_menu_display_options 0.00s

test_game_menu_display_board_options 0.00s

test_game_menu_invalid_input[-1-expectedResult0] 0.00s

test_game_menu_invalid_input[asdf-expectedResult1] 0.00s

test_game_menu_invalid_input[13@!$a-expectedResult2]` 0.00s

test_game_menu_invalid_input[9-expectedResult3] 0.00s

test_game_menu_invalid_input[-expectedResult4] 0.00s

test_game_menu_return_main_menu 0.00s

tests/test-scripts/test_load_game_refactored.py

test_load_game_no_save 0.00s

test_load_game_empty_board 0.00s

test_load_game_with_save_different_board_sizes[printBoard0-3] 0.00s

test_load_game_with_save_different_board_sizes[printBoard1-4] 0.00s

test_load_game_with_save_different_board_sizes[printBoard2-5] 0.00s

tests/test-scripts/test_main_menu_refactored.py

test_main_menu_to_game_menu 0.00s

test_main_menu 0.00s

test_main_menu_invalid_input[-1] 0.00s

test_main_menu_invalid_input[asdf] 0.00s

test_main_menu_invalid_input[13@!$a]` 0.00s

test_main_menu_invalid_input[9] 0.00s

test_main_menu_invalid_input[] 0.00s

tests/test-scripts/test_save_game_refactored.py

test_save_game[input0-4-boardState0-boardStatePlaced0] 0.00s

test_save_game[input1-5-boardState1-boardStatePlaced1] 0.00s

test_save_game[input2-3-boardState2-boardStatePlaced2] 0.00s

test_save_game[input3-4-boardState3-boardStatePlaced3] 0.00s

test_save_game_empty_board 0.00s

test_save_game_existing_save 0.00s

tests/test-scripts/test_see_remaining_buildings.py

test_see_remaining_building_initial_state 0.00s

test_see_remaining_building_after_play 0.00s

test_see_remaining_building_3x3 0.00s

test_see_remaining_building_5x5 0.00s

test_see_remaining_building_after_ending_game_and_starting_new 0.00s

test_see_remaining_building_non_default_pool 0.00s

tests/test-scripts/test_view_current_score_refactored.py

test_view_current_score_empty 0.00s

test_view_current_score_bch_center_of_city 0.00s

test_view_current_score_bch_right_or_left_of_city 0.00s

test_view_current_score_fac_single_fac 0.00s

test_view_current_score_fac_4fac 0.00s

test_view_current_score_fac_5fac 0.00s

test_view_current_score_hse_single_hse 0.00s

test_view_current_score_hse_2hse_adjacent 0.00s

test_view_current_score_hse_2bch_center 0.00s

test_view_current_score_hse_2shp_adjacent_to_hse_but_not_to_each_other 0.00s

test_view_current_score_hse_1fac_adjacent 0.00s

test_view_current_score_shp_single_shp 0.00s

test_view_current_score_shp_single_bch_adjacent_not_in_center 0.00s

test_view_current_score_shp_single_bch_adjacent_single_fac_adjacent_bch_not_in_center 0.00s

test_view_current_score_shp_2_bch_adjacent_single_fac_adjacent_bch_not_in_center 0.00s

test_view_current_score_hwy_single_hwy 0.00s

test_view_current_score_hwy_2_hwy_adjacent_on_single_row 0.00s

test_view_current_score_hwy_4_hwy_adjacent_on_single_row 0.00s

test_view_currentscore_hwy_2_hwy_adjacent_on_single_row_1hwy_adjacent_on_different_row 0.00s

test_view_current_score_prk[input0-2-buildingBoard0-currentScore0-actualBoard0-buildingPool0] 0.00s

test_view_current_score_prk[input1-3-buildingBoard1-currentScore1-actualBoard1-buildingPool1] 0.00s

test_view_current_score_prk[input2-4-buildingBoard2-currentScore2-actualBoard2-buildingPool2] 0.00s

test_view_current_score_prk[input3-5-buildingBoard3-currentScore3-actualBoard3-buildingPool3] 0.00s

test_view_current_score_prk[input4-6-buildingBoard4-currentScore4-actualBoard4-buildingPool4] 0.00s

test_view_current_score_prk[input5-7-buildingBoard5-currentScore5-actualBoard5-buildingPool5] 0.00s

test_view_current_score_prk[input6-8-buildingBoard6-currentScore6-actualBoard6-buildingPool6] 0.00s

test_view_current_score_prk[input7-9-buildingBoard7-currentScore7-actualBoard7-buildingPool7] 0.00s

test_view_current_score_mon[input0-2-buildingBoard0-currentScore0-actualBoard0-buildingPool0] 0.00s

test_view_current_score_mon[input1-2-buildingBoard1-currentScore1-actualBoard1-buildingPool1] 0.00s

test_view_current_score_mon[input2-4-buildingBoard2-currentScore2-actualBoard2-buildingPool2] 0.00s

test_view_current_score_mon[input3-5-buildingBoard3-currentScore3-actualBoard3-buildingPool3] 0.00s

tests/test-scripts/test_view_final_score_refactored.py

test_view_final_score[input0-boardState0-1-scoreBoard0-heightWidth0-actualBoard0-boardStateFilled0] 0.00s

test_view_final_score[input1-boardState1-4-scoreBoard1-heightWidth1-actualBoard1-boardStateFilled1] 0.00s

test_view_final_score[input2-boardState2-9-scoreBoard2-heightWidth2-actualBoard2-boardStateFilled2] 0.00s

test_view_final_score[input3-boardState3-16-scoreBoard3-heightWidth3-actualBoard3-boardStateFilled3] 0.00s

test_view_final_score[input4-boardState4-25-scoreBoard4-heightWidth4-actualBoard4-boardStateFilled4] 0.00s

test_view_final_score[input5-boardState5-36-scoreBoard5-heightWidth5-actualBoard5-boardStateFilled5] 0.00s

test_view_final_score[input6-boardState6-16-scoreBoard6-heightWidth6-actualBoard6-boardStateFilled6] 0.00s

1 xfailed

tests/test-scripts/test_update_high_score_list.py

test_update_high_scores_special_character_in_input 0.00s

github-actions[bot] commented 2 years ago

@JianOon Please review with @rlry72