# Path: pyLIMA/microlpriors.py
# def priors_on_models(pyLIMA_parameters, model, binary_regime = None):
# def microlensing_flux_priors( f_source, g_blending,size_dataset=0):
# def microlensing_parameters_limits_priors(parameters, limits):
# def kinematic_energy_prior(pyLIMA_parameters):
# def distance_lens_prior(pyLIMA_parameters):


import os.path
import numpy as np
from pyLIMA import microlpriors




def test_microlensing_flux_priors_negative_source_flux():
    priors = microlpriors.microlensing_flux_priors(100, -1.0, 0)

    assert priors == np.inf





def test_microlensing_parameters_outside_limits():
    parameters = [0, -1, 1]
    limits = [[-100, 150], [0, 1], [0, 3]]

# Path: pyLIMA/microlpriors.py
# def priors_on_models(pyLIMA_parameters, model, binary_regime = None):
# def microlensing_flux_priors( f_source, g_blending,size_dataset=0):
# def microlensing_parameters_limits_priors(parameters, limits):
# def kinematic_energy_prior(pyLIMA_parameters):
# def distance_lens_prior(pyLIMA_parameters):


# Path: pyLIMA/test/test_microlpriors.py
import os.path
import numpy as np
from pyLIMA import microlpriors





def test_microlensing_flux_priors_negative_source_flux():
    priors = microlpriors.microlensing_flux_priors(100, -1.0, 0)

    assert priors == np.inf





def test_microlensing_parameters_outside_limits():
    parameters = [0, -1, 1]
    limits = [[-100, 150], [0, 1], [0, 3]]

    priors = microlpriors.microlensing_parameters_limits_priors(parameters, limits)