From 2c115c479ec95afb59cb9cddd3187f2a34f8936f Mon Sep 17 00:00:00 2001 From: Brandon Flores Date: Mon, 11 Nov 2024 14:50:53 -0600 Subject: [PATCH] Added missing test for `similar_type` method --- test/ext/StaticArraysCore.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ext/StaticArraysCore.jl b/test/ext/StaticArraysCore.jl index 3a72200..f3729ee 100644 --- a/test/ext/StaticArraysCore.jl +++ b/test/ext/StaticArraysCore.jl @@ -1,4 +1,6 @@ @testset "StaticArraysCore extension" begin k = KVector{1,VGA(3)}(4, 2, 0) + T = typeof(k) @test CliffordNumbers.similar_type(k, Float32) === StaticArrays.similar_type(k, Float32) + @test CliffordNumbers.similar_type(T, Float32) === StaticArrays.similar_type(T, Float32) end