Skip to content

Commit d5a400b

Browse files
committed
Include equality test in unittests
1 parent e56c3ae commit d5a400b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/test_equality.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ f32_tree = x1 + x2 * x3 - log(x2 * 3.0f0) + 1.5f0 * cos(x2 / x1)
4141

4242
@test convert(Node{Float64}, f32_tree) == f64_tree
4343

44-
@test f64_tree == f32_tree
44+
@test f64_tree == f32_tree

test/unittest.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ end
5555
@safetestset "Test error handling" begin
5656
include("test_error_handling.jl")
5757
end
58+
59+
@safetestset "Test equality operator" begin
60+
include("test_equality.jl")
61+
end

0 commit comments

Comments
 (0)