Skip to content

Commit 5daea61

Browse files
author
a
committed
unit tests
1 parent f57e06b commit 5daea61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ using Test
77
@test children(ex) == [:f, :a, :b]
88
@test operation(ex) == :f
99
@test arguments(ex) == [:a, :b]
10+
@test isexpr(ex)
1011
@test iscall(ex)
1112
@test ex == maketerm(Expr, :call, [:f, :a, :b])
1213

@@ -15,6 +16,7 @@ using Test
1516
@test head(ex) == :ref
1617
@test_throws ErrorException operation(ex)
1718
@test_throws ErrorException arguments(ex)
19+
@test isexpr(ex)
1820
@test !iscall(ex)
1921
@test ex == maketerm(Expr, :ref, [:arr, :i, :j])
2022
end

0 commit comments

Comments
 (0)