Skip to content

Commit

Permalink
fix: remove unnecessary test
Browse files Browse the repository at this point in the history
ensuring `nothing` is not stored as indepsym is covered in SII tests
  • Loading branch information
AayushSabharwal committed Dec 20, 2023
1 parent 999f3da commit 7f62b72
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/symbolic_indexing_interface_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,9 @@ dx = DiffEqArray([[f(x), f2(x)] for x in t],
@test constant_structure(dx)
@info "TEST 29"

dx = DiffEqArray([[f(x), f2(x)] for x in t], t; variables = [:a, :b])
@test_throws Exception dx[nothing] # make sure it isn't storing [nothing] as indepsym
@info "TEST 30"

ABC = @SLVector (:a, :b, :c);
A = ABC(1, 2, 3);
B = RecursiveArrayTools.DiffEqArray([A, A], [0.0, 2.0]);
@test getindex(B, :a) == [1, 1]
@info "TEST 31"
@info "TEST 30"

0 comments on commit 7f62b72

Please sign in to comment.