# Path: pyLIMA/microlguess.py
# def initial_guess_PSPL(event):
# def initial_guess_FSPL(event):
# def initial_guess_DSPL(event):
# def differential_evolution_parameters_boundaries(model):
# def MCMC_parameters_initialization(parameter_key, parameters_dictionnary, parameters):


import numpy as np
import unittest.mock as mock
from pyLIMA import microlguess
    assert len(guesses[0]) == 3


def test_initial_guess_FSPL():
    event = _create_event()

    guesses = microlguess.initial_guess_FSPL(event)

    assert len(guesses) == 2
    assert len(guesses[0]) == 4


def test_initial_guess_DSPL():
    event = _create_event()

    guesses = microlguess.initial_guess_DSPL(event)

    assert len(guesses) == 2
    assert len(guesses[0]) == 6


def test_differential_evolution_parameters_boundaries_PSPL():
    event = _create_event()
    model = mock.MagicMock()
    model.event = event
    model.model_type = 'PSPL'
    model.parallax_model = ['None']
    model.xallarap_model = ['None']
    model.parallax_model = ['None']
    model.orbital_motion_model = ['None']

# Path: pyLIMA/microlguess.py
# def initial_guess_PSPL(event):
# def initial_guess_FSPL(event):
# def initial_guess_DSPL(event):
# def differential_evolution_parameters_boundaries(model):
# def MCMC_parameters_initialization(parameter_key, parameters_dictionnary, parameters):


# Path: pyLIMA/test/test_microlguess.py
import numpy as np
import unittest.mock as mock
from pyLIMA import microlguess

    assert len(guesses[0]) == 3


def test_initial_guess_FSPL():
    event = _create_event()

    guesses = microlguess.initial_guess_FSPL(event)

    assert len(guesses) == 2
    assert len(guesses[0]) == 4


def test_initial_guess_DSPL():
    event = _create_event()

    guesses = microlguess.initial_guess_DSPL(event)

    assert len(guesses) == 2
    assert len(guesses[0]) == 6


def test_differential_evolution_parameters_boundaries_PSPL():
    event = _create_event()
    model = mock.MagicMock()
    model.event = event
    model.model_type = 'PSPL'
    model.parallax_model = ['None']
    model.xallarap_model = ['None']
    model.parallax_model = ['None']
    model.orbital_motion_model = ['None']

    parameters_boundaries = microlguess.differential_evolution_parameters_boundaries(model)