-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move good and bad files to separate folders
- Loading branch information
Showing
18 changed files
with
58 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
### Tests which check HIF-compliant files formats to make sure the schema validates them ### | ||
|
||
|
||
# test empty | ||
def test_empty_hypergraph(validator, empty_hypergraph): | ||
validator(empty_hypergraph) | ||
|
||
|
||
# test metadata | ||
|
||
|
||
# test nodes | ||
def test_single_node(validator, single_node): | ||
validator(single_node) | ||
|
||
|
||
def test_single_node_with_attrs(validator, single_node_with_attrs): | ||
validator(single_node_with_attrs) | ||
|
||
|
||
# test edges | ||
def test_single_edge(validator, single_edge): | ||
validator(single_edge) | ||
|
||
|
||
def test_single_edge_with_attrs(validator, single_edge_with_attrs): | ||
validator(single_edge_with_attrs) | ||
|
||
|
||
# test incidences | ||
def test_single_incidence(validator, single_incidence): | ||
validator(single_incidence) | ||
|
||
|
||
def test_single_incidence_with_weights(validator, single_incidence_with_weights): | ||
validator(single_incidence_with_weights) | ||
|
||
|
||
def test_single_incidence_with_attrs(validator, single_incidence_with_attrs): | ||
validator(single_incidence_with_attrs) |