|
25 | 25 |
|
26 | 26 | @testset "constructor" begin
|
27 | 27 | t = (1.0, 2.0)
|
28 |
| - nt = (x = 1, y=2.0) |
| 28 | + nt = (x=1, y=2.0) |
29 | 29 | d = Dict(:x => 1.0, :y => 2.0)
|
30 | 30 | vals = [1, 2]
|
31 | 31 |
|
32 |
| - @test_throws ArgumentError Tangent{typeof(t), typeof(nt)}(nt) |
33 |
| - @test_throws ArgumentError Tangent{typeof(t), typeof(d)}(d) |
| 32 | + @test_throws ArgumentError Tangent{typeof(t),typeof(nt)}(nt) |
| 33 | + @test_throws ArgumentError Tangent{typeof(t),typeof(d)}(d) |
34 | 34 |
|
35 |
| - @test_throws ArgumentError Tangent{typeof(d), typeof(nt)}(nt) |
36 |
| - @test_throws ArgumentError Tangent{typeof(d), typeof(t)}(t) |
| 35 | + @test_throws ArgumentError Tangent{typeof(d),typeof(nt)}(nt) |
| 36 | + @test_throws ArgumentError Tangent{typeof(d),typeof(t)}(t) |
37 | 37 |
|
38 |
| - @test_throws ArgumentError Tangent{typeof(nt), typeof(vals)}(vals) |
39 |
| - @test_throws ArgumentError Tangent{typeof(nt), typeof(d)}(d) |
40 |
| - @test_throws ArgumentError Tangent{typeof(nt), typeof(t)}(t) |
| 38 | + @test_throws ArgumentError Tangent{typeof(nt),typeof(vals)}(vals) |
| 39 | + @test_throws ArgumentError Tangent{typeof(nt),typeof(d)}(d) |
| 40 | + @test_throws ArgumentError Tangent{typeof(nt),typeof(t)}(t) |
41 | 41 |
|
42 |
| - @test_throws ArgumentError Tangent{Foo, typeof(d)}(d) |
43 |
| - @test_throws ArgumentError Tangent{Foo, typeof(t)}(t) |
| 42 | + @test_throws ArgumentError Tangent{Foo,typeof(d)}(d) |
| 43 | + @test_throws ArgumentError Tangent{Foo,typeof(t)}(t) |
44 | 44 | end
|
45 | 45 |
|
46 | 46 | @testset "==" begin
|
|
0 commit comments