#18 [junit] Testcase: testIntegerSeqLoopTwo took 0.008 sec

open
Xueyuan Peng
Bug (17)
5
2011-10-10
2011-10-09
Nikita
No

One of the test cases is failing for the Integer data generator -- the specific interval is [-2..5] where the proper sequence does not get generated. Integer generator logic needs some patching:

[junit] Testcase: testIntegerSeqLoopTwo took 0.008 sec
[junit] FAILED
[junit] Sequential generator returned wrong value. expected:<-[4]> but was:<-[5]>
[junit] junit.framework.ComparisonFailure: Sequential generator returned wrong value. expected:<-[4]> but was:<-[5]>
[junit] at com.ibm.dg.generators.IntegerGeneratorTest.testIntegerSeqLoopTwo(IntegerGeneratorTest.java:197)

Discussion

  • Nikita
    Nikita
    2011-10-10

    • assigned_to: nobody --> xueyuan0106