@@ -0,0 +1,892 @@
+package org.hanuna.gitalk.commitmodel;%0A%0Aimport org.junit.Test;%0A%0Aimport static junit.framework.Assert.assertEquals;%0Aimport static junit.framework.Assert.assertFalse;%0Aimport static junit.framework.Assert.assertTrue;%0A%0A/**%0A * @author erokhins%0A */%0Apublic class HashTest %7B%0A    public void runStringTest(String strHash) %7B%0A        Hash hash = Hash.buildHash(strHash);%0A        assertEquals(strHash, hash.toStrHash());%0A    %7D%0A%0A    @Test%0A    public void testBuildHash() throws Exception %7B%0A        runStringTest(%220000f%22);%0A        runStringTest(%22ff01a%22);%0A        runStringTest(%220000%22);%0A    %7D%0A%0A    @Test%0A    public void testEquals() throws Exception %7B%0A        Hash hash1 = Hash.buildHash(%22adf%22);%0A        assertTrue(hash1.equals(hash1));%0A        assertFalse(hash1.equals(null));%0A        Hash hash2 = Hash.buildHash(%22adf%22);%0A        assertTrue(hash1.equals(hash2));%0A        assertTrue(hash1 == hash2);%0A    %7D%0A%7D%0A

add HashTest