Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
co1emi11er2 committed Dec 1, 2024
1 parent be91544 commit bc090e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ using Test
@test TestHandcalcFunctions.calculate_Ix(5, 15) == 1406.25
@test TestHandcalcFunctions.calc_Is(5, 15) == (1406.25, 156.25)
@test TestHandcalcFunctions.sym_function(:hello) == :hello
@test TestHandcalcFunctions.SubA.SubB.sub_module_func(5, 6) == 11
@test TestHandcalcFunctions.where_func(5, 6) == 11
@test TestHandcalcFunctions.calc_if_Is_1(5, 15, :Iy) == 156.25
@test TestHandcalcFunctions.calc_if_Is_1(5, 15, :Ix) == 1406.25
@test TestHandcalcFunctions.calc_if_Is_2(5, 15, :Ix) == 1406.25
@test TestHandcalcFunctions.calc_if_Is_2(5, 15, :Iy) == 156.25
end

2 comments on commit bc090e5

@co1emi11er2
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()

@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/120458

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.2.2 -m "<description of version>" bc090e56abe40a1be2952e0e8a96f761258c3df1
git push origin v0.2.2

Please sign in to comment.