Skip to content

Commit

Permalink
Test fixed for DSv3 second commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Denes Karoly committed Sep 7, 2023
1 parent b26f613 commit 6eddcbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unit_tests/operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ end


ds = PredefinedDynamicalSystems.henon()
traj1 = trajectory(ds,10000;Ttr = 1000)
traj2 = trajectory(ds,10000;Ttr = 11000)
traj1, = trajectory(ds,10000;Ttr = 1000)
traj2, = trajectory(ds,10000;Ttr = 11000)


# @testset "stn addition test: commutativity" begin
@testset "stn addition test: commutativity" begin
symts_list12 = timeseries_to_common_grid([traj1,traj2],20)
symts_list21 = timeseries_to_common_grid([traj2,traj1],20)

stn_added12,retcode = add_timeseries(symts_list12,20)
stn_added21,retcode = add_timeseries(symts_list21,20)
@test are_equal(stn_added12,stn_added21)

# end
end

0 comments on commit 6eddcbd

Please sign in to comment.