package ru.szhernovoy.tree;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by Sergey on 25.09.2016.
 */
public class BinaryTreeTest {
    @Test
    public void whenAddInBinaryTreeWeGetValueByKey() throws Exception {

        BinaryTree<Integer,String> phoneBook = new BinaryTree<>();



    }


}
@@ -43,14 +43,78 @@
 nit.
-Test;%0A
+Assert;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.core.Is.is;
 %0Aimp
@@ -369,16 +369,495 @@
 ee%3C%3E();%0A
+        Integer one = 1;%0A        String name1 = %22Sergey%22;%0A        phoneBook.put(one,name1);%0A        phoneBook.put(2,%22Nick%22);%0A        phoneBook.put(3,%22Petr%22);%0A        phoneBook.put(4,%22%22);%0A        phoneBook.put(14,%22Rame%22);%0A        phoneBook.put(43,%22Julia%22);%0A        phoneBook.put(5,%22Dasha%22);%0A        phoneBook.put(32,%22Lera%22);%0A        phoneBook.put(3,%22Dima%22);%0A        phoneBook.put(6,%22Sasha%22);%0A%0A        String result = phoneBook.get(3);%0A        Assert.assertThat(%22Dima%22,is(result));
 %0A%0A%0A    %7D

update Tree (part . 5 lesson 6 exc. 5)