# coding: utf-8

"""
    Intervals.icu API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: v1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from intervals_icu_client.models.power_curve import PowerCurve

class TestPowerCurve(unittest.TestCase):
    """PowerCurve unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PowerCurve:
        """Test PowerCurve
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `PowerCurve`
        """
        model = PowerCurve()
        if include_optional:
            return PowerCurve(
                id = '',
                after_kj = 56,
                filters = [
                    intervals_icu_client.models.activity_filter.ActivityFilter(
                        id = 56, 
                        field_id = 'type', 
                        code = '', 
                        operator = '', 
                        value = intervals_icu_client.models.value.value(), 
                        not = True, )
                    ],
                label = '',
                filter_label = '',
                percentile = 1.337,
                start_date_local = '',
                end_date_local = '',
                days = 56,
                moving_time = 56,
                training_load = 56,
                weight = 1.337,
                secs = [
                    56
                    ],
                values = [
                    56
                    ],
                submax_values = [
                    [
                        56
                        ]
                    ],
                submax_activity_id = [
                    [
                        ''
                        ]
                    ],
                start_index = [
                    56
                    ],
                end_index = [
                    56
                    ],
                activity_id = [
                    ''
                    ],
                watts_per_kg = [
                    1.337
                    ],
                wkg_activity_id = [
                    ''
                    ],
                submax_watts_per_kg = [
                    [
                        1.337
                        ]
                    ],
                submax_wkg_activity_id = [
                    [
                        ''
                        ]
                    ],
                power_models = [
                    intervals_icu_client.models.power_model.PowerModel(
                        type = 'MS_2P', 
                        critical_power = 56, 
                        w_prime = 56, 
                        p_max = 56, 
                        input_point_indexes = [
                            56
                            ], 
                        ftp = 56, )
                    ],
                ranks = {
                    'key' : intervals_icu_client.models.rank.Rank(
                        position = {
                            'key' : 1.337
                            }, 
                        watts = {
                            'key' : 1.337
                            }, )
                    },
                map_plot = intervals_icu_client.models.plot.Plot(
                    max_bpm = 56, 
                    min_bpm = 56, 
                    secs = [
                        56
                        ], 
                    cumulative_secs = [
                        56
                        ], ),
                stream_type = '',
                stream_name = '',
                watts = [
                    56
                    ],
                vo2max_5m = 1.337,
                compound_score_5m = 1.337
            )
        else:
            return PowerCurve(
        )
        """

    def testPowerCurve(self):
        """Test PowerCurve"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

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