from finsim.ui import UI from finsim.simulation import Simulation from finsim.sim_data import SimData UI.initialise() sim_data = SimData() simulation = Simulation(sim_data) UI.begin() simulation.simulate()
def test_initialise(self, mock_heading): UI.initialise() mock_heading.assert_called_once_with(ANY, level=2)