Mercurial > hg > Members > nobuyasu > jungle-network
diff src/test/alice/jungle/datasegment/NetworkNodePathTest.java @ 69:0cb55616b76e
Removed NetworkNodeOperation
author | one |
---|---|
date | Thu, 10 Oct 2013 22:19:33 +0900 |
parents | b0af3960917f |
children | 892bac9ac118 |
line wrap: on
line diff
--- a/src/test/alice/jungle/datasegment/NetworkNodePathTest.java Thu Oct 10 20:26:33 2013 +0900 +++ b/src/test/alice/jungle/datasegment/NetworkNodePathTest.java Thu Oct 10 22:19:33 2013 +0900 @@ -12,15 +12,12 @@ public class NetworkNodePathTest extends TestCase { - public void testMsgConvert() throws IOException { + public void testMsgpackConvert() throws IOException { NetworkNodePath path = new NetworkNodePath(); path = path.add(1).add(2).add(3); MessagePack msgpack = new MessagePack(); Value value = msgpack.unconvert(path); NetworkNodePath mPath = msgpack.convert(value, NetworkNodePath.class); - for (Integer i : mPath) { - System.out.println(i); - } assertEquals(path.size(), mPath.size()); Iterator<Integer> iter1 = path.iterator(); Iterator<Integer> iter2 = mPath.iterator(); @@ -30,4 +27,6 @@ assertEquals(i1, i2); } } + + }