def test_function_string_integration_steps(self): test_profiles = MultivariateGaussianMassProfile(None, 16) test_profiles.integration_steps = 256 expected = "name=MultivariateGaussianComptonProfile,IntegrationSteps=256,Mass=16.000000,SigmaX=1.000000," \ "SigmaY=1.000000,SigmaZ=1.000000;" self.assertEqual(expected, test_profiles.create_fit_function_str())
def test_function_string_integration_steps(self): test_profiles = MultivariateGaussianMassProfile(None, 16) test_profiles.integration_steps = 256 expected = "name=MultivariateGaussianComptonProfile,IntegrationSteps=256,Mass=16.000000,SigmaX=1.000000,SigmaY=1.000000,SigmaZ=1.000000;" self.assertEqual(expected, test_profiles.create_fit_function_str())