

def test_multinomial_support_should_return_proper_number_of_bins(self):
    X = qtu.get_mixture_support('multinomial', mcmext.p_MultinomialComponentModel, self.params_list_multinomial)
    assert (len(X) == len(self.params_list_multinomial[0]['weights']))

dataset/ETHPy150Open probcomp/crosscat/src/tests/unit_tests/test_quality_test_utils.py TestGetMixtureSupport.test_multinomial_support_should_return_proper_number_of_bins/original