pycnic / pysimkernel

A Python package to control parameter scans and iterations for computational experiments
ISC License
1 stars 2 forks source link

Minimal testcase for additional layer #22

Open andsor opened 8 years ago

andsor commented 8 years ago
from simkernel import Experiment

# define simulation
def sim():
    return True

xp = Experiment(sim)
outer_xp = Experiment(xp)

# execute experiment
res = outer_xp()

assert res is True