Skip to content

Commit 263f910

Browse files
committed
update tests
1 parent 8530d24 commit 263f910

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/function_building_error_messages.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,9 @@ i1(u) = u
649649
itoo(y, u, p, a) = y .= u * p
650650

651651
IntegralFunction(ioop)
652+
IntegralFunction(ioop, 0.0)
652653
IntegralFunction(iiip, Float64[])
653654

654-
@test_throws SciMLBase.IntegrandMismatchFunctionError IntegralFunction(ioop, Float64[])
655655
@test_throws SciMLBase.IntegrandMismatchFunctionError IntegralFunction(iiip)
656656
@test_throws SciMLBase.TooFewArgumentsError IntegralFunction(i1)
657657
@test_throws SciMLBase.TooManyArgumentsError IntegralFunction(itoo)
@@ -666,10 +666,11 @@ bitoo(y, u, p, a) = y .= p .* u
666666

667667
BatchIntegralFunction(boop)
668668
BatchIntegralFunction(boop, max_batch = 20)
669+
BatchIntegralFunction(boop, Float64[])
670+
BatchIntegralFunction(boop, Float64[], max_batch = 20)
669671
BatchIntegralFunction(biip, Float64[])
670672
BatchIntegralFunction(biip, Float64[], max_batch = 20)
671673

672-
@test_throws SciMLBase.IntegrandMismatchFunctionError BatchIntegralFunction(boop, Float64[])
673674
@test_throws SciMLBase.IntegrandMismatchFunctionError BatchIntegralFunction(biip)
674675
@test_throws SciMLBase.TooFewArgumentsError BatchIntegralFunction(bi1)
675676
@test_throws SciMLBase.TooManyArgumentsError BatchIntegralFunction(bitoo)

0 commit comments

Comments
 (0)