Skip to content

Commit

Permalink
test(matrices): add involutory tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzhiZhang committed Aug 9, 2024
1 parent 068fcb8 commit 6f84399
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/matrices/involutory.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# constructors
@test allequal([
Involutory(5),
Involutory{Int}(5),
])

# linear algebra functions
run_test_linearalgrbra_functions(Involutory.(1:5))

# eltype
@test test_matrix_elements(Involutory{Int32}(5))

# content
@test Involutory(5) [-5.0 0.5 0.3333333333333333 0.25 0.2; -300.0 40.0 30.0 24.0 20.0; 1050.0 -157.5 -126.0 -105.0 -90.0; -1400.0 224.0 186.66666666666666 160.0 140.0; 630.0 -105.0 -90.0 -78.75 -70.0]

0 comments on commit 6f84399

Please sign in to comment.