# coding: utf-8

"""
    Singlearity Baseball API

    Baseball optimization API using machine learning  # noqa: E501

    The version of the OpenAPI document: 0.1.1
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import singlearity
from singlearity.models.player import Player  # noqa: E501
from singlearity.rest import ApiException

class TestPlayer(unittest.TestCase):
    """Player unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test Player
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = singlearity.models.player.Player()  # noqa: E501
        if include_optional :
            return Player(
                full_name = '0', 
                position = '0', 
                mlb_id = 56, 
                debut_date = '0', 
                team_id = 56, 
                team_abbrev = '0', 
                active = True, 
                bat_side = '0', 
                pitch_hand = '0', 
                birth_country = '0', 
                birth_date = '0', 
                current_age = 56, 
                photo_url = '0'
            )
        else :
            return Player(
                full_name = '0',
                position = '0',
                mlb_id = 56,
                debut_date = '0',
                team_id = 56,
                team_abbrev = '0',
                active = True,
                bat_side = '0',
                pitch_hand = '0',
                birth_country = '0',
                birth_date = '0',
                current_age = 56,
                photo_url = '0',
        )

    def testPlayer(self):
        """Test Player"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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