[Pharo-project] strange behavior of tests
Feb. 10, 2013
7:10 p.m.
This is strange I was running the tests of the fame project MCHttpRepository location: 'http://www.smalltalkhub.com/mc/Moose/Fame/main' user: 'StephaneDucasse' password: '' when I run the tests they get red and I get a lot of zeroDivide errorâ¦. something related to the progress bar because I get a division by zero When I edit the code so that the division is never 0 just adding + 1 as in the method progress ^ (currentValue - min) / ((max - min) + 1) the tests get green. I'm puzzled. Stef
4919
Age (days ago)
4919
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse