-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
463 additions
and
310 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
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.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Running the Tests | ||
|
||
We have a number of tests checking the equivariance of representations constructed in | ||
different ways (`.T`, `*`, `+`) for the groups that have been implemented (`Z(n)`,`S(n)`,`D(k)`,`SO(n)`, `O(n)`,`Sp(n)`,`SO13()`,`O13()`,`SU(n)`). | ||
We use pytest and some of the tests are automatically generated. Because there is a large amount of tests and it can take quite some time to run them all, | ||
you can run a subset using pytests built in features to filter by the matches on the name of the testcase using the `-k` argument. | ||
|
||
For example to run `test_prod` with all the groups you can run | ||
```python emlp/tests/equivariant_subspaces_tests.py -k "test_prod"``` | ||
|
||
To run the test case for a specific group could use the filter `-k "test_prod_O(3)"` and to run all tests with that group | ||
you could run | ||
```python emlp/tests/equivariant_subspaces_tests.py -k "O(3)"``` | ||
|
||
The usual pytest command line arguments apply (like `-v` for verbose) and we add an additional `--log` argument for the log level. |
Oops, something went wrong.