Skip to content

Commit

Permalink
Add constructor test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokazama committed May 1, 2020
1 parent 397e2dd commit fe7a4d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ nia = NIArray(reshape(1:6, 2, 3), x = 2:3, time = 3.0:5.0)

t = TimeAxis(Second(1):Second(1):Second(10));

@test t == TimeAxis(Second(1):Second(1):Second(10), Base.OneTo(10), Dict{Symbol,Second}())

@test keys(t) == Second(1):Second(1):Second(10)

t[:ts1] = Second(1)
Expand Down

2 comments on commit fe7a4d5

@Tokazama
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release Notes:

  • Add documentation
  • More constructors

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/13948

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.1 -m "<description of version>" fe7a4d5b52caf0545e883c11fd324884d0695424
git push origin v0.1.1

Please sign in to comment.