DevO2012 / mili

Automatically exported from code.google.com/p/mili
Boost Software License 1.0
0 stars 1 forks source link

Failed tests sometimes #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Mili Test sometimes pass and sometimes fail. I ran the tests five times and 
UniqueRankerLinealTest.test failed.

[----------] 1 test from UniqueRankerLinealTest
[ RUN      ] UniqueRankerLinealTest.test
projects/mili/tests/ranker_test.cpp:173: Failure
Value of: isSorted<PlayersRankingLineal>(it)
  Actual: false
Expected: true
[  FAILED  ] UniqueRankerLinealTest.test (0 ms)
[----------] 1 test from UniqueRankerLinealTest (0 ms total)

Original issue reported on code.google.com by lukas.vs...@gmail.com on 19 Dec 2011 at 12:59

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting the bug.

Original comment by danielgutson@gmail.com on 19 Dec 2011 at 3:31

GoogleCodeExporter commented 9 years ago
could you reproduce it?

Original comment by lukas.vs...@gmail.com on 19 Dec 2011 at 10:58

GoogleCodeExporter commented 9 years ago
Maybe the error is related to the struct DummyComparator which always return 
true in operator().  
struct DummyComparator is used in: 
class UniqueRankerLineal : public BaseUniqueRanker<T, Comp, DummyComparator<T>, 
DisposalPolicy>

Original comment by lukas.vs...@gmail.com on 26 Dec 2011 at 4:08

GoogleCodeExporter commented 9 years ago
is this fixed?

Original comment by danielgutson@gmail.com on 31 Dec 2011 at 11:24

GoogleCodeExporter commented 9 years ago
yes, problem resolved at r289

Original comment by lukas.vs...@gmail.com on 31 Dec 2011 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by hugo.arregui on 31 Dec 2011 at 5:07