Skip to content

Commit

Permalink
Added missing test for similar_type method
Browse files Browse the repository at this point in the history
  • Loading branch information
brainandforce committed Nov 11, 2024
1 parent 89d3f02 commit 2c115c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ext/StaticArraysCore.jl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2c115c4

Please sign in to comment.