Esempio n. 1
0
def test_izhikevich(with_figure=False):
    test = TestFixture(component, parameters, initial_values, expected_output,
                       100.0)
    success = test.run()
    if with_figure:
        test.plot("test_izhikevich.png")
    assert success
Esempio n. 2
0
def test_fibonacci(with_figure=False):
    test = TestFixture(model, parameters, initial_values, expected_output,
                       100.0)
    success = test.run()
    if with_figure:
        test.plot("test_fibonacci.png")
    assert success
Esempio n. 3
0
def test_leaky_iaf(with_figure=False):
    test = TestFixture(component, parameters, initial_values, expected_output, 100.0)
    success = test.run()
    if with_figure:
        test.plot("test_leaky_iaf.png")
    assert success
Esempio n. 4
0
def test_fibonacci(with_figure=False):
    test = TestFixture(model, parameters, initial_values, expected_output, 100.0)
    success = test.run()
    if with_figure:
        test.plot("test_fibonacci.png")
    assert success