public void Test_Contains()
        {
            var bin = new BinarySearch <Byte, Char>();

            bin.Add(1, 'A');
            bin.Add(2, 'B');

            Assert.True(bin.Contains(1));
            Assert.True(bin.Contains(2));
        }
        public void Test_Add_Get()
        {
            var bin = new BinarySearch <Byte, Char>();

            bin.Add(1, 'A');

            Assert.Equal('A', bin.Get(1));
        }
        private BinarySearch <Byte, Char> CreateFullBinarySearch()
        {
            BinarySearch <Byte, Char> bin = new BinarySearch <Byte, Char>();

            bin.Add(6, 'F');
            bin.Add(4, 'D');
            bin.Add(7, 'G');
            bin.Add(2, 'B');
            bin.Add(11, 'K');
            bin.Add(9, 'I');
            bin.Add(5, 'E');
            bin.Add(8, 'H');
            bin.Add(3, 'C');
            bin.Add(1, 'A');

            return(bin);
        }
        public void Test_Delete()
        {
            var bin = new BinarySearch <Byte, Char>();

            bin.Add(1, 'A');
            bin.Delete(1);

            Assert.False(bin.Contains(1));
        }