@@ -0,0 +1,1340 @@
+package com.wizzardo.tools.collections;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Apublic class PairTest %7B%0A    @Test%0A    public void test() %7B%0A        Pair%3CInteger, Integer%3E pair = new Pair%3CInteger, Integer%3E(0, 1);%0A%0A        Assert.assertEquals(%220: 1%22, pair.toString());%0A        Assert.assertEquals(Integer.valueOf(0), pair.key);%0A        Assert.assertEquals(Integer.valueOf(1), pair.value);%0A%0A%0A        Assert.assertEquals(0, new Pair%3CInteger, Integer%3E(null, null).hashCode());%0A        Assert.assertNotEquals(0, new Pair%3CInteger, Integer%3E(1, null).hashCode());%0A        Assert.assertNotEquals(0, new Pair%3CInteger, Integer%3E(null, 1).hashCode());%0A%0A        Assert.assertTrue(pair.equals(pair));%0A        Assert.assertFalse(pair.equals(null));%0A        Assert.assertFalse(pair.equals(%22%22));%0A%0A        Assert.assertFalse(new Pair%3CInteger, Integer%3E(null, 2).equals(new Pair%3CInteger, Integer%3E(null, 1)));%0A        Assert.assertFalse(new Pair%3CInteger, Integer%3E(null, 2).equals(new Pair%3CInteger, Integer%3E(1, 1)));%0A        Assert.assertFalse(new Pair%3CInteger, Integer%3E(1, null).equals(new Pair%3CInteger, Integer%3E(2, null)));%0A        Assert.assertFalse(new Pair%3CInteger, Integer%3E(1, null).equals(new Pair%3CInteger, Integer%3E(2, 2)));%0A        Assert.assertTrue(new Pair%3CInteger, Integer%3E(null, null).equals(new Pair%3CInteger, Integer%3E(null, null)));%0A    %7D%0A%0A%7D%0A

test for Pair