# coding: utf-8

"""
    VeeRoute.LSS Routing

    Программный интерфейс для получения маршрутов и матриц расстояний  # noqa: E501

    The version of the OpenAPI document: 2.6.158395
    Contact: support@veeroute.com
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import vrt_lss_routing
from vrt_lss_routing.models.route_statistics import RouteStatistics  # noqa: E501
from vrt_lss_routing.rest import ApiException

class TestRouteStatistics(unittest.TestCase):
    """RouteStatistics unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test RouteStatistics
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = vrt_lss_routing.models.route_statistics.RouteStatistics()  # noqa: E501
        if include_optional :
            return RouteStatistics(
                distance = 7000, 
                duration = 60, 
                stopping_time = 20, 
                time_window = vrt_lss_routing.models.route_statistics_time_window.RouteStatistics_time_window(
                    from = '2020-10-21T09:30+03:00', 
                    to = '2020-10-21T19:45Z', )
            )
        else :
            return RouteStatistics(
                distance = 7000,
                duration = 60,
        )

    def testRouteStatistics(self):
        """Test RouteStatistics"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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