We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1f7ce2 commit 80924eaCopy full SHA for 80924ea
test/Scalar.jl
@@ -3,4 +3,6 @@
3
@test Scalar([1 2; 3 4]) .+ [[1 1; 1 1], [2 2; 2 2]] == [[2 3; 4 5], [3 4; 5 6]]
4
@test (Scalar(1) + Scalar(1.0))::Scalar{Float64} ≈ Scalar(2.0)
5
@test_throws ErrorException Scalar(2)[2]
6
+ @test Scalar(2)[] == 2
7
+ @test Tuple(Scalar(2)) == (2,)
8
end
0 commit comments