From 13e68a39e80803363a6089978a8f85ccd7af6e70 Mon Sep 17 00:00:00 2001 From: hyrodium Date: Sat, 25 Nov 2023 12:57:27 +0900 Subject: [PATCH] add more tests on `quat` --- test/Quaternion.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Quaternion.jl b/test/Quaternion.jl index 0617a8c..dcba5bc 100644 --- a/test/Quaternion.jl +++ b/test/Quaternion.jl @@ -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)`.