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

class TestState(unittest.TestCase):
    """State unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test State
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = singlearity.models.state.State()  # noqa: E501
        if include_optional :
            return State(
                on_1b = True, 
                on_2b = True, 
                on_3b = True, 
                inning = 56, 
                outs = 56, 
                top = True, 
                bat_score = 56, 
                fld_score = 56, 
                bat_lineup_order = 56, 
                fld_lineup_order = 56, 
                pitch_number = 56, 
                frame_runs_scored = 56
            )
        else :
            return State(
        )

    def testState(self):
        """Test State"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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