def sim(Test, TestFun): return from magma.testing.newfunction import testvectors as funtest from magma.simulator.python_simulator import testvectors as simtest tvsim = simtest(Test) tvfun = funtest(Test, TestFun) assert tvsim == tvfun
def sim(Test, TestFun): tvsim = simtest(Test) print(tvsim) tvfun = funtest(Test, TestFun) print(tvfun) assert tvsim == tvfun