File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 379
379
@test sol[:Y ][end ] ≈ 3.0
380
380
381
381
# Tests that observables can be used for plot indexing.
382
- @test plot (sol; idxs= X). series_list[1 ]. plotattributes[:y ][end ] ≈ 2.5
383
- @test plot (sol; idxs= rn. X). series_list[1 ]. plotattributes[:y ][end ] ≈ 2.5
384
- @test plot (sol; idxs= :X ). series_list[1 ]. plotattributes[:y ][end ] ≈ 2.5
382
+ @test plot (sol; idxs= X). series_list[1 ]. plotattributes[:y ][end ] ≈ 10.0
383
+ @test plot (sol; idxs= rn. X). series_list[1 ]. plotattributes[:y ][end ] ≈ 10.0
384
+ @test plot (sol; idxs= :X ). series_list[1 ]. plotattributes[:y ][end ] ≈ 10.0
385
385
@test plot (sol; idxs= [X, Y]). series_list[2 ]. plotattributes[:y ][end ] ≈ 3.0
386
386
@test plot (sol; idxs= [rn. X, rn. Y]). series_list[2 ]. plotattributes[:y ][end ] ≈ 3.0
387
387
@test plot (sol; idxs= [:X , :Y ]). series_list[2 ]. plotattributes[:y ][end ] ≈ 3.0
You can’t perform that action at this time.
0 commit comments