X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2FDecimal%2FContext.phpt;h=a67ed075b4d0d5c2be4d96d77e204f17b5cea7da;hb=0ebd5a03550ffe66a371bcac0d525257faccdb1d;hp=f2b2150634def72f3888b7ec7f31004d055e7cc0;hpb=790bfba47fd8b204bb4b5d242015dd88c0c31109;p=awesomized%2Fext-ion diff --git a/tests/Decimal/Context.phpt b/tests/Decimal/Context.phpt index f2b2150..a67ed07 100644 --- a/tests/Decimal/Context.phpt +++ b/tests/Decimal/Context.phpt @@ -5,18 +5,60 @@ ion --FILE-- TEST DONE --EXPECTF-- TEST -object(ion\Decimal\Context)#1 (1) { - ["bits"]=> - int(128) +object(ion\Decimal\Context)#%d (5) { + ["digits"]=> + int(7) + ["eMax"]=> + int(96) + ["eMin"]=> + int(-95) + ["round"]=> + int(3) + ["clamp"]=> + bool(true) } -object(ion\Decimal\Context)#1 (1) { - ["bits"]=> - int(32) +object(ion\Decimal\Context)#%d (5) { + ["digits"]=> + int(16) + ["eMax"]=> + int(384) + ["eMin"]=> + int(-383) + ["round"]=> + int(3) + ["clamp"]=> + bool(true) +} +object(ion\Decimal\Context)#%d (5) { + ["digits"]=> + int(34) + ["eMax"]=> + int(6144) + ["eMin"]=> + int(-6143) + ["round"]=> + int(3) + ["clamp"]=> + bool(true) +} +object(ion\Decimal\Context)#%d (5) { + ["digits"]=> + int(999999999) + ["eMax"]=> + int(999999999) + ["eMin"]=> + int(-999999999) + ["round"]=> + int(3) + ["clamp"]=> + bool(false) } DONE