Commit 9cb26058 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Added a test case for #5

parent ffe54e57
......@@ -316,4 +316,9 @@ def test_randomness_same():
def test_write():
m = Machine((1,1,1))
text = str(m)
assert str(m) == "<bob.learn.mlp.Machine @(1, 1, 1) [act: f(z) = tanh(z)]>"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment