Skip to content

Commit

Permalink
Fix other pi value
Browse files Browse the repository at this point in the history
I missed this one in my previous PR
  • Loading branch information
jecisc authored Feb 28, 2023
1 parent 35eef2e commit ef8414c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tests
testFloat

self assert: ((self materialize: '1.5') closeTo: 1.5).
self assert: ((self materialize: '-1.5') closeTo: -1.5).
self assert: (self materialize: '0.0') isZero.
Expand All @@ -11,4 +12,4 @@ testFloat
self assert: (self materialize: 'Float[#nan]') isNaN.
self assert: (self materialize: 'Float[#infinity]') equals: Float infinity.
self assert: (self materialize: 'Float[#negativeInfinity]') equals: Float negativeInfinity.
self assert: (Float pi closeTo: (self materialize: 'Float[3.14149]'))
self assert: (Float pi closeTo: (self materialize: 'Float[3.14159]') precision: 0.00001)

0 comments on commit ef8414c

Please sign in to comment.