コード例 #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
コード例 #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
コード例 #3
0
ファイル: test_leaky_iaf.py プロジェクト: apdavison/nineml
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
コード例 #4
0
ファイル: test_fibonacci.py プロジェクト: apdavison/nineml
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