LevelSceneTest: testGetSerializedLevelSceneObservationZ fails
Closed this issue · 4 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Checkout MarioAI from source.
2. Run Unit Tests.
What is the expected output? What do you see instead?
I expected to see no output but instead see an Assertion error:
***********************************************************************
junit.framework.AssertionFailedError: expected:<0> but was:<-60>
at ch.idsia.unittests.LevelSceneTest.testGetSerializedLevelSceneObservationZ(LevelSceneTest.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:94)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:192)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
************************************************************************
What version of the product are you using? On what operating system?
I'm using the latest from Subversion. Windows 7 64 bit. IntelliJ IDEA 9.0.3.
Original issue reported on code.google.com by melin...@gmail.com
on 26 Oct 2010 at 7:35
GoogleCodeExporter commented
Original comment by Sergey.K...@gmail.com
on 28 Oct 2010 at 10:29
- Changed state: Accepted
GoogleCodeExporter commented
yep, this is due to changes done in LevelGenerator. No, those options produce
at the specified point empty cell.
Thank you, Erek!
Original comment by Sergey.K...@gmail.com
on 29 Oct 2010 at 10:29
GoogleCodeExporter commented
This issue was closed by revision r614.
Original comment by Sergey.K...@gmail.com
on 29 Oct 2010 at 10:30
- Changed state: Fixed
GoogleCodeExporter commented
yep, this is due to changes done in LevelGenerator. NoW, those options produce
at the specified point empty cell.
Thank you, Erek!
Original comment by Sergey.K...@gmail.com
on 29 Oct 2010 at 10:31