assertEquals ("aa", map.get (2, 0));
}
public void testSerializable () throws IOException, ClassNotFoundException
{
MIntInt2ObjectMap map = new MIntInt2ObjectMap ();
map.put (0, 2, "A");
map.put (2, 0, "a");
map.put (0, 5, "C");
map.put (3, 1, "D");
map.put (2, 0, "aa");
MIntInt2ObjectMap map2 = (MIntInt2ObjectMap) TestSerializable.cloneViaSerialization (map);
assertEquals (4, map2.size ());
assertEquals ("A", map2.get (0, 2));
assertEquals ("aa", map2.get (2, 0));
}