def initialization_test(self):
        hasToBeSorted     = random.choice([True, False])
        hasToBeNormalized = random.choice([True, False])
        b = BaseMethod(["param1", "param2"], hasToBeSorted=hasToBeSorted, hasToBeNormalized=hasToBeNormalized)

        if not b.has_to_be_sorted() == hasToBeSorted:
            raise AssertionError
        if not b.has_to_be_normalized() == hasToBeNormalized:
            raise AssertionError
Test BaseMethod initialization.
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/BaseMethodTest.initialization_test