Commit f62692ac authored by Lucas Bourneuf's avatar Lucas Bourneuf
Browse files

test dot_writer module

parent 43ccface
from biseau import asp_to_dot
def test_basic_visual_config():
config = asp_to_dot.visual_config_from_atoms({}, {
'link': {('a', 'b'), ('c', 'd')},
'color': {('a', 'red')}
}, ' ')
assert set(config.arcs) == {('a', 'b'), ('c', 'd')}
assert == {'a': {'fillcolor': 'red'}}
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