# coding: utf-8

"""
    VeeRoute.LSS Clustering

    Программный интерфейс для кластеризации локаций.  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import vrt_lss_clustering
from vrt_lss_clustering.models.performer import Performer  # noqa: E501
from vrt_lss_clustering.rest import ApiException

class TestPerformer(unittest.TestCase):
    """Performer unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test Performer
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = vrt_lss_clustering.models.performer.Performer()  # noqa: E501
        if include_optional :
            return Performer(
                key = 'performer0001', 
                home_location = vrt_lss_clustering.models.location.Location(
                    latitude = 55.692789, 
                    longitude = 37.554554, 
                    arrival_duration = 15, 
                    departure_duration = 5, ), 
                transport_type = 'CAR', 
                cost_per_meter = 0.05, 
                cost_per_minute = 0.12, 
                limits = vrt_lss_clustering.models.cluster_limits.ClusterLimits(
                    min_points = 3, 
                    max_points = 3, )
            )
        else :
            return Performer(
                key = 'performer0001',
                transport_type = 'CAR',
        )

    def testPerformer(self):
        """Test Performer"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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