def test_get_all_mpdist_profiles_s(T, m, s): ref_profiles = naive.get_all_mpdist_profiles(T, m, s=s) cmp_profiles = _get_all_profiles(T, m, s=s) npt.assert_almost_equal(ref_profiles, cmp_profiles, decimal=config.STUMPY_TEST_PRECISION)
def test_get_all_mpdist_profiles_percentage(T, m, percentage): ref_profiles = naive.get_all_mpdist_profiles(T, m, percentage=percentage) cmp_profiles = _get_all_profiles(T, m, percentage=percentage) npt.assert_almost_equal(ref_profiles, cmp_profiles, decimal=config.STUMPY_TEST_PRECISION)