Skip to content

Commit

Permalink
reduced precision-tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
schnepe2 committed Jan 16, 2024
1 parent d24b503 commit 5fda943
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Script/Tests/GeneralApiTest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -137,24 +137,6 @@ assert( oapi.formatvalue(PI,39) == " 3.1415926535897900073734945181058719754")
assert( oapi.formatvalue(PI,40) == " 3.14159265358979000737349451810587197542")
assert( oapi.formatvalue(PI,41) == " 3.141592653589790007373494518105871975422")
assert( oapi.formatvalue(PI,42) == " 3.1415926535897900073734945181058719754219")
assert( oapi.formatvalue(PI,43) == " 3.14159265358979000737349451810587197542191")
assert( oapi.formatvalue(PI,44) == " 3.141592653589790007373494518105871975421906")
assert( oapi.formatvalue(PI,45) == " 3.1415926535897900073734945181058719754219055")
assert( oapi.formatvalue(PI,46) == " 3.14159265358979000737349451810587197542190552")
assert( oapi.formatvalue(PI,47) == " 3.141592653589790007373494518105871975421905518")
assert( oapi.formatvalue(PI,48) == " 3.1415926535897900073734945181058719754219055176")
assert( oapi.formatvalue(PI,49) == " 3.14159265358979000737349451810587197542190551758")
assert( oapi.formatvalue(PI,50) == " 3.141592653589790007373494518105871975421905517578")
assert( oapi.formatvalue(PI,51) == " 3.1415926535897900073734945181058719754219055175781")
assert( oapi.formatvalue(PI,52) == " 3.14159265358979000737349451810587197542190551757812")
assert( oapi.formatvalue(PI,53) == " 3.141592653589790007373494518105871975421905517578125")
assert( oapi.formatvalue(PI,54) == " 3.1415926535897900073734945181058719754219055175781250")
assert( oapi.formatvalue(PI,55) == " 3.14159265358979000737349451810587197542190551757812500")
assert( oapi.formatvalue(PI,56) == " 3.141592653589790007373494518105871975421905517578125000")
assert( oapi.formatvalue(PI,57) == " 3.1415926535897900073734945181058719754219055175781250000")
assert( oapi.formatvalue(PI,58) == " 3.14159265358979000737349451810587197542190551757812500000")
assert( oapi.formatvalue(PI,59) == " 3.141592653589790007373494518105871975421905517578125000000")
assert( oapi.formatvalue(PI,60) == " 3.1415926535897900073734945181058719754219055175781250000000")
-- regular postfixes
assert( oapi.formatvalue(PI*1e1 ) == " 31.42" )
assert( oapi.formatvalue(PI*1e2 ) == " 314.2" )
Expand Down

0 comments on commit 5fda943

Please sign in to comment.