require('proof')(5, prove)

function prove (assert) {
    var Assessment = require('..')
    new Assessment().sample(0)
    var time = 1
    var assessment = new Assessment({
        empty: 0,
        intervals: [ 6000 ],
        Date: { now: function () { return time++ } }
    })
    assert(assessment.summarize(),  { '6000': { mean: 0, median: 0, min: 0, max: 0 } }, 'null')
    assessment.sample(1)
    assessment.sample(2)
    assessment.sample(3)
    assert(assessment.summarize(), { '6000': { mean: 2, median: 2, min: 1, max: 3 } }, 'summarize')
    time = 6002
    assessment.sample(4)
    assert(assessment.summarize(), { '6000': { mean: 3, median: 3, min: 2, max: 4 } }, 'shift')
    assessment.sample(1)
    assert(assessment.summarize(), {
        '6000': { mean: 2.6666666666666665, median: 3, min: 1, max: 4 }
    }, 'median add odd')
    time = 12003
    assessment.sample(4)
    assessment.sample(3)
    assessment.sample(2)
    assessment.sample(1)
    assert(assessment.summarize(), {
        '6000': { mean: 2.5, median: 2, min: 1, max: 4 }
    }, 'median remove even')
    time = 18004
    assessment.sample(0)
    assessment.sample(6)
    assessment.sample(5)
    assessment.sample(4)
    assessment.sample(3)
    assessment.sample(2)
    assessment.sample(1)
    while (assessment.windows[0].tree.size > 2) {
        assessment.windows[0].tree.remove(assessment.windows[0].tree.min())
    }
    assessment.sample(0)
}

@@ -37,22 +37,20 @@
  prove (
-assert
+okay
 ) %7B%0A    
@@ -273,30 +273,28 @@
 %0A    %7D)%0A    
-assert
+okay
 (assessment.
@@ -442,30 +442,28 @@
 mple(3)%0A    
-assert
+okay
 (assessment.
@@ -581,30 +581,28 @@
 mple(4)%0A    
-assert
+okay
 (assessment.
@@ -696,38 +696,36 @@
 t.sample(1)%0A    
-assert
+okay
 (assessment.summ
@@ -957,14 +957,12 @@
     
-assert
+okay
 (ass

Rename `assert` to `okay`.