Sorted dict 1

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

Below is a trace of my session.  My code is executed by 
test_sorteddict.jl.  Then I searched for all .cov files in 
c:\Users\vavasis using 'dir' but found only those associated with system 
libraries (see below).  It didn't find cov files for other 
DataStructures.jl test-runs either.

Thanks,
Steve



c:\Users\vavasis\AppData\Local\Julia-0.4.0-dev\bin>julia --code-coverage
                _
    _       _ _(_)_     |  A fresh approach to technical computing
   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
    _ _   _| |_  __ _   |  Type "help()" for help.
   | | | | | | |/ _` |  |
   | | |_| | | | (_| |  |  Version 0.4.0-dev+1318 (2014-10-27 03:52 UTC)
  _/ |\__'_|_|_|\__'_|  |  Commit 7a7110b* (6 days old master)
|__/                   |  x86_64-w64-mingw32

julia> Pkg.status()
2 required packages:
  - DataStructures                0.3.5+             SortedDict-1
  - ImmutableArrays               0.0.6

julia> Pkg.test("DataStructures", coverage=true)
INFO: Testing DataStructures
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_deque.jl 
...
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_sorteddict.jl 
..
.
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_stack_and_queue.
jl ...
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_accumulator.jl 
.
..
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_classifiedcollec
tions.jl ...
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_disjoint_set.jl
...
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_binheap.jl 
...
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_mutable_binheap.
jl ...
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_defaultdict.jl 
.
..
Warning: imported binding for e overwritten in module Main
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_ordereddict.jl 
.
..
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_orderedset.jl 
..
.
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_trie.jl 
...
c:\Users\vavasis\Documents\.julia\v0.4\DataStructures\test\test_list.jl 
...
INFO: DataStructures tests passed
INFO: No packages to install, update or remove

julia>


C:\Users\vavasis>dir *.cov /S
  Volume in drive C is Windows8_OS
  Volume Serial Number is 88DB-A798

  Directory of 
C:\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base

2014-11-02  03:52 PM            21,166 gmp.jl.cov
2014-11-02  03:52 PM             6,609 grisu.jl.cov
2014-11-02  03:52 PM             6,643 linalg.jl.cov
2014-11-02  03:52 PM            32,024 mpfr.jl.cov
2014-11-02  03:52 PM            10,264 multimedia.jl.cov
2014-11-02  03:52 PM             2,987 ordering.jl.cov
2014-11-02  03:52 PM             6,105 pcre.jl.cov
2014-11-02  03:52 PM            18,928 profile.jl.cov
2014-11-02  03:52 PM            56,253 random.jl.cov
2014-11-02  03:52 PM            17,321 sort.jl.cov
2014-11-02  03:52 PM             8,688 sysinfo.jl.cov
2014-11-02  03:52 PM             6,693 test.jl.cov
2014-11-02  03:52 PM             8,912 utf8proc.jl.cov
               13 File(s)        202,593 bytes

  Directory of 
C:\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base\gr
isu

2014-11-02  03:52 PM             9,053 bignum.jl.cov
2014-11-02  03:52 PM             8,907 fastfixed.jl.cov
2014-11-02  03:52 PM             2,926 fastprecision.jl.cov
2014-11-02  03:52 PM             3,800 fastshortest.jl.cov
2014-11-02  03:52 PM            10,712 float.jl.cov
                5 File(s)         35,398 bytes

  Directory of 
C:\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base\li
nalg

2014-11-02  03:52 PM           208,903 lapack.jl.cov
                1 File(s)        208,903 bytes

  Directory of 
C:\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base\pk
g

2014-11-02  03:52 PM             1,994 dir.jl.cov
                1 File(s)          1,994 bytes

  Directory of 
C:\Users\vavasis\AppData\Local\Microsoft\Windows\FileHistory\Data\
183\C\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base

2014-11-02  02:50 PM            21,166 gmp.jl.cov
2014-11-02  02:50 PM             6,609 grisu.jl.cov
2014-11-02  02:50 PM             6,643 linalg.jl.cov
2014-11-02  02:50 PM            32,024 mpfr.jl.cov
2014-11-02  02:50 PM            10,264 multimedia.jl.cov
2014-11-02  02:50 PM             2,987 ordering.jl.cov
2014-11-02  02:50 PM             6,105 pcre.jl.cov
2014-11-02  02:50 PM            18,928 profile.jl.cov
2014-11-02  02:50 PM            56,253 random.jl.cov
2014-11-02  02:50 PM            17,321 sort.jl.cov
2014-11-02  02:50 PM             8,688 sysinfo.jl.cov
2014-11-02  02:50 PM             6,693 test.jl.cov
2014-11-02  02:50 PM             8,912 utf8proc.jl.cov
               13 File(s)        202,593 bytes

  Directory of 
C:\Users\vavasis\AppData\Local\Microsoft\Windows\FileHistory\Data\
183\C\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base\grisu

2014-11-02  02:50 PM             9,053 bignum.jl.cov
2014-11-02  02:50 PM             8,907 fastfixed.jl.cov
2014-11-02  02:50 PM             2,926 fastprecision.jl.cov
2014-11-02  02:50 PM             3,800 fastshortest.jl.cov
2014-11-02  02:50 PM            10,712 float.jl.cov
                5 File(s)         35,398 bytes

  Directory of 
C:\Users\vavasis\AppData\Local\Microsoft\Windows\FileHistory\Data\
183\C\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base\linalg

2014-11-02  02:50 PM           208,903 lapack.jl.cov
                1 File(s)        208,903 bytes

  Directory of 
C:\Users\vavasis\AppData\Local\Microsoft\Windows\FileHistory\Data\
183\C\Users\vavasis\AppData\Local\Julia-0.4.0-dev\share\julia\base\pkg

2014-11-02  02:50 PM             1,994 dir.jl.cov
                1 File(s)          1,994 bytes

      Total Files Listed:
               40 File(s)        897,776 bytes
                0 Dir(s)  76,316,340,224 bytes free

C:\Users\vavasis>










On Sun, 2 Nov 2014, Tim Holy wrote:

> 
> In test/test_balancedTree.jl:
> 
> > @@ -0,0 +1,942 @@
> > +using DataStructures
> 
> It should generate .cov files for your files, too. Look for them in the same directory as the source file. If
> they weren't generated, are you sure any code in them was run?
> 
> —
> Reply to this email directly or view it on GitHub.[AHhEh5AY3QnVdMzWwAwGdESzSmAJb6M2ks5nJp4VgaJpZM4CfNMR.gif]
> 
> 
>