# 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.lineup_pos import LineupPos  # noqa: E501
from singlearity.rest import ApiException

class TestLineupPos(unittest.TestCase):
    """LineupPos unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test LineupPos
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = singlearity.models.lineup_pos.LineupPos()  # noqa: E501
        if include_optional :
            return LineupPos(
                player = {"full_name":"Mike Trout","position":"CF","mlb_id":545361,"debut_date":"2011-07-08","team_id":108,"team_abbrev":"LAA","active":true,"bat_side":"R","birth_country":"USA","birth_date":"1991-08-07","current_age":28,"photo_url":"https://securea.mlb.com/mlb/images/players/head_shot/545361.jpg"}, 
                position = '0'
            )
        else :
            return LineupPos(
                player = {"full_name":"Mike Trout","position":"CF","mlb_id":545361,"debut_date":"2011-07-08","team_id":108,"team_abbrev":"LAA","active":true,"bat_side":"R","birth_country":"USA","birth_date":"1991-08-07","current_age":28,"photo_url":"https://securea.mlb.com/mlb/images/players/head_shot/545361.jpg"},
                position = '0',
        )

    def testLineupPos(self):
        """Test LineupPos"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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