Skip to content

Commit

Permalink
small change for IOSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
黄子轩 committed Jan 6, 2016
1 parent f3b7a6a commit e0f1252
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scala-package/core/src/test/scala/ml/dmlc/mxnet/IOSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ class IOSuite extends FunSuite with BeforeAndAfterAll {
mnistIter.reset()
mnistIter.iterNext()
val label0 = mnistIter.getLabel().toArray
val data0 = mnistIter.getData().toArray
mnistIter.iterNext()
mnistIter.iterNext()
mnistIter.iterNext()
mnistIter.reset()
mnistIter.iterNext()
val label1 = mnistIter.getLabel().toArray
val data1 = mnistIter.getData().toArray
assert(label0 === label1)
assert(data0 === data1)
}


Expand Down

0 comments on commit e0f1252

Please sign in to comment.