Skip to content

Commit

Permalink
Add test for partitioned tableau.
Browse files Browse the repository at this point in the history
  • Loading branch information
michakraus committed Feb 4, 2021
1 parent 088174d commit 8cc9b3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_tableaus_prk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ using RungeKutta: name, order, nstages, coefficients, weights, nodes

@testset "$(rpad("Partitioned Tableaus",80))" begin

@test typeof(PartitionedTableau(:PRK4, TableauRK4(), TableauRK4())) <: PartitionedTableau
@test PartitionedTableau(:PRK4, TableauRK4(), TableauRK4()) == PartitionedTableau(:PRK4, TableauRK4())


@test typeof(PartitionedTableauGauss(1)) <: PartitionedTableau
@test order(PartitionedTableauGauss(1)) == 2
@test nstages(PartitionedTableauGauss(1)) == 1
Expand Down

2 comments on commit 8cc9b3e

@michakraus
Copy link
Member Author

Choose a reason for hiding this comment

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

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

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.3.0 -m "<description of version>" 8cc9b3e6c4209e6c88546d638769e34d3b390260
git push origin v0.3.0

Please sign in to comment.