# coding: utf-8

"""
    DUPR Backend APIs

    Internal RESTful APIs to access DUPR ratings, users and provide matches.

    The version of the OpenAPI document: v1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from dupr_backend.models.edit_match_request import EditMatchRequest

class TestEditMatchRequest(unittest.TestCase):
    """EditMatchRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> EditMatchRequest:
        """Test EditMatchRequest
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `EditMatchRequest`
        """
        model = EditMatchRequest()
        if include_optional:
            return EditMatchRequest(
                match_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                team1_score = dupr_backend.models.edit_score_request.EditScoreRequest(
                    team_id = 56168168161, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                team2_score = dupr_backend.models.edit_score_request.EditScoreRequest(
                    team_id = 56168168161, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                match_id = 56168168161,
                league_match_id = 56168168161,
                bracket_id = 56168168161,
                is_forfeited = True
            )
        else:
            return EditMatchRequest(
                match_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                team1_score = dupr_backend.models.edit_score_request.EditScoreRequest(
                    team_id = 56168168161, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                team2_score = dupr_backend.models.edit_score_request.EditScoreRequest(
                    team_id = 56168168161, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                match_id = 56168168161,
        )
        """

    def testEditMatchRequest(self):
        """Test EditMatchRequest"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
