RegressionTests__IntegerTest.st
changeset 25 246f4c3866a0
parent 24 75a5c02e255d
child 26 eb5fdf34fb28
equal deleted inserted replaced
24:75a5c02e255d 25:246f4c3866a0
   608     self test:[t printString = 10 factorial printString].
   608     self test:[t printString = 10 factorial printString].
   609     self test:[t == 10 factorial].
   609     self test:[t == 10 factorial].
   610 
   610 
   611     "Large // Large division"
   611     "Large // Large division"
   612     self test:[(10000 factorial / 9999 factorial) == 10000].
   612     self test:[(10000 factorial / 9999 factorial) == 10000].
       
   613     self test:[(10000 factorial / 9999 factorial) == (10000 factorial // 9999 factorial)].
   613     self test:[(20 factorial / 19 factorial) == 20].
   614     self test:[(20 factorial / 19 factorial) == 20].
   614     self test:[(20 factorial * 21 / 20 / 21) = (19 factorial)].
   615     self test:[(20 factorial * 21 / 20 / 21) = (19 factorial)].
   615 
   616 
   616     "
   617     "
   617      self testLargeDivision
   618      self testLargeDivision