pycnic / pysimkernel

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

Minimal testcase with decorator #11

Open andsor opened 8 years ago

andsor commented 8 years ago
from simkernel import experiment

@experiment
def sim():
    return True

res = sim()

assert res is True
andsor commented 8 years ago

Same functionality as #10 but more readable syntax