Sorted dict 1

Pull request for SortedDict and BalancedTree23 taking into account Kevin Squire's feedback from the past 12 days.
Tim,

I tried it both ways:

      julia --code-coverage
      Pkg.test("DataStructures")

and

      julia
      Pkg.test("DataStructures", coverage=true)


In the first case, most of the system "cov" files were regenerated (e.g., 
ordering.jl.cov and sort.jl.cov) but some were not (e.g., test.jl.cov and 
bignum.jl.cov).

In the second case, all of the system "cov" files were regenerated.

But "cov" files for the DataStructures routines were not generated in 
either case.  Is this a possible Windows bug?  I am running Windows 8.1, 
64-bit.

Thanks,
Steve




On Sun, 2 Nov 2014, Tim Holy wrote:

> 
> In test/test_balancedTree.jl:
> 
> > @@ -0,0 +1,942 @@
> > +using DataStructures
> 
> That's weird for two reasons: (1) the missing .cov files for "user" code, and (2) the fact that there are files
> for base. --code-coverage, by itself, isn't supposed to generate files for base (you'd need
> --code-coverage=all). But, in this case I think you're turning code-coverage on twice, in two separate julia
> sessions (once by the command line option, and once in the process that gets launched by Pkg.test("foo",
> coverage=true)). Try picking just one of these and see what happens.
> 
> —
> Reply to this email directly or view it on GitHub.[AHhEhzyLxSyFhaR38sjFhYVFDOW8p60Jks5nJrfAgaJpZM4CfNMR.gif]
> 
> 
>