Skip to content

Commit

Permalink
add more tests on quat
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium committed Nov 25, 2023
1 parent a572a1f commit 13e68a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Quaternion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ end

@test quat(Int) === Quaternion{Int}
@test quat(Float32) === Quaternion{Float32}
@test quat(Quaternion{Int}) === Quaternion{Int}
@test quat(Quaternion{Float32}) === Quaternion{Float32}

# Note that `quat(1,missing,0,0)` throws an error.
# This is the same behavior as `complex(1,missing)`.
Expand Down

0 comments on commit 13e68a3

Please sign in to comment.