Skip to content

Commit

Permalink
Use new --> syntax for FactCheck tests
Browse files Browse the repository at this point in the history
Fix Euler test
  • Loading branch information
dpsanders authored and Luis Benet committed Jul 31, 2015
1 parent c23f079 commit fffd0f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using TaylorSeries
using FactCheck
using Compat

#FactCheck.setstyle(:compact)
FactCheck.setstyle(:compact)
# FactCheck.onlystats(true)

facts("Tests for Taylor1 expansions") do
Expand Down Expand Up @@ -118,8 +118,8 @@ facts("Tests for HomogeneousPolynomial and TaylorN") do
@fact eltype(set_variables(BigInt, "x y", order=6)) --> TaylorN{BigInt}
@fact eltype(set_variables("x y", order=6)) --> TaylorN{Float64}

#@fact TaylorSeries.index_table[2][1] == [1,0] => true
#@fact TaylorSeries.pos_table[4][hash([2,1])] == 2 => true
@fact TaylorSeries.index_table[2][1] == [1,0] --> true
@fact TaylorSeries.pos_table[4][hash([2,1])] == 2 --> true

@fact get_order() == 6 --> true
@fact get_numvars() == 2 --> true
Expand Down

0 comments on commit fffd0f0

Please sign in to comment.