Front page | perl.perl6.language |
Postings from July 2006
A note for test writers
Thread Next
From:
Leopold Toetsch
Date:
July 15, 2006 09:21
Subject:
A note for test writers
Message ID:
200607151821.15284.lt@toetsch.at
Folks,
Please always verify test results, don't use the Parrot output of the test as
the expected output.
If you are implementing a new feature, write the *test first*.
Thanks,
leo
PS from r13305:
@@ -1324,7 +1324,7 @@
set P2, 300 # .Integer
set P3, 246.246 # .Float
div P2, P2, P3
- eq P2, 1, EQ4
+ .fp_eq( P2, 1.218293, EQ4)
300 / 246.246 just isn't 1 exactly
Thread Next
-
A note for test writers
by Leopold Toetsch