Skip to content

Commit

Permalink
Update DecimalTests.elm
Browse files Browse the repository at this point in the history
  • Loading branch information
nardnana28 committed May 8, 2024
1 parent f45ac00 commit e85b495
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ decimalFromFloatTest ctx =
test ctx
(fromFloat 1.2)


{-| Test: Decimal/fromFloat
expected = 1.2
-}
decimalFromFloatTest1 : TestContext -> Decimal
decimalFromFloatTest1 ctx =
test ctx
(Decimal.fromFloat 1.2)

-- {-| Test: Decimal/toFloat
-- expected = 1.5
Expand Down

0 comments on commit e85b495

Please sign in to comment.