@@ -0,0 +1,629 @@
+%0Afrom penman.interface import (%0A    decode,%0A    loads,%0A    load,%0A    encode,%0A    dumps,%0A    dump,%0A)%0A%0A%0Adef test_decode():%0A    assert decode('(a / alpha)').triples == %5B('a', ':instance', 'alpha')%5D%0A%0A%0Adef test_loads():%0A    gs = loads('(a / alpha)(b / beta)')%0A    assert len(gs) == 2%0A    assert gs%5B0%5D.triples == %5B('a', ':instance', 'alpha')%5D%0A    assert gs%5B1%5D.triples == %5B('b', ':instance', 'beta')%5D%0A%0A%0Adef test_load():%0A    pass%0A%0A%0Adef test_encode():%0A    assert encode(decode('(a / alpha)')) == '(a / alpha)'%0A%0A%0Adef test_dumps():%0A    assert dumps(loads('(a / alpha)(b / beta)')) == '(a / alpha)%5Cn%5Cn(b / beta)'%0A%0A%0Adef test_dump():%0A    pass%0A

Add penman.interface tests