Anders and Briegel in Python
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- from abp import GraphState
- from abp import clifford
- from demograph import demograph
- import time
- import json
-
- def test_json_basic():
- """ Test that we can export to JSON """
- g = demograph()
- js = g.to_json()
- assert "edges" in js
- assert "nodes" in js
- json.loads(js)
-
|