Skip to content

Commit

Permalink
Add more json examples for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FraLotito committed Jan 27, 2025
1 parent e36b88b commit 010c84c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_files/HIF-non-compliant/bad_node_float.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"network-type": "undirected",
"nodes": [
{
"node": 1.23
}
],
"incidences": [{"edge": 1, "node": 2}]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"network-type": "asc",
"incidences": [{"edge": 1}]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"network-type": "directed",
"incidences": [{"edge": 1, "node": 2, "direction": "side"}]
}

0 comments on commit 010c84c

Please sign in to comment.