Skip to content

Commit

Permalink
add more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Sep 15, 2023
1 parent 722b352 commit ba37c47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions tests/test_cotengrust.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ def get_rand_size_dict(inputs, d_min=2, d_max=3):

# these are taken from opt_einsum
test_case_eqs = [
# Test single-term equations
"->",
"a->a",
"ab->ab",
"ab->ba",
"abc->bca",
"abc->b",
"baa->ba",
"aba->b",
# Test scalar-like operations
"a,->a",
"ab,->ab",
Expand Down

0 comments on commit ba37c47

Please sign in to comment.