== 1 tests, stdlib only, text rules
ok   gofmt -l prints nothing
ok   go vet exits 0
ok   go test exits 0
ok   PASS TestIdenticalIsExactlyZero
ok   PASS TestSubtractionEqualsDifference
ok   PASS TestSilentBeforeFirstDifference
ok   PASS TestFlipPeak
ok   PASS TestStringIsSharpOfA2
ok   PASS TestRings
ok   PASS TestPositions
ok   PASS TestSheetFits
ok   PASS TestWavHeader
ok   PASS TestSingleFileHasNoDC
     nulltest_test.go:139: steady state gain peaks at 110.11 Hz
     nulltest_test.go:167: one flip: 1 rings, longest 1.8 s
     nulltest_test.go:167: three flips: 3 rings, longest 1.8 s
     nulltest_test.go:167: burst: 1 rings, longest 2.7 s
     nulltest_test.go:167: insertion: 1 rings, longest 10.8 s
     nulltest_test.go:167: truncation: 1 rings, longest 11.5 s
ok   no third party package
ok   go.mod has no require
ok   no em dash
ok   no spaced double hyphen
ok   ASCII only
     real.bin is the built nulltest, 2629261 bytes
== 2 identical files are exact silence
ok   exit 0
ok   2: Result     IDENTICAL
ok   2: Recording  0:00.0 to 0:02.0 of the file, no ring-out
ok   2: Level      none, exactly zero
ok   2: File       null.wav, 0:02.0
ok   2 null.wav is 176,444 bytes
ok   2 data bytes all zero
     soxi: Channels : 1 Sample Rate : 44100 Precision : 16-bit 
== 3 one flipped byte is one pluck, exactly
ok   exit 1
ok   3: First      byte 100,001, file time 0:02.2
ok   3: Last       byte 100,001, file time 0:02.2
ok   3: Differing  1 position in 1 run
ok   3: Length     same
ok   3: Rings      1, longest 1.8 s
ok   3: Recording  0:01.2 to 0:02.2 of the file, then 4.0 s ring-out
ok   3: Level      peak -48.2 dBFS before make-up, +45.2 dB applied
ok   3: File       null.wav, 0:05.0
ok   3 samples: 220501 False 23197 23197
== 4 the shapes are told apart
     flip3: exit 1; Rings      3, longest 1.8 s; Recording  0:01.2 to 0:09.0 of the file, then 4.0 s ring-out
     burst: exit 1; Rings      1, longest 2.6 s; Recording  0:01.2 to 0:02.4 of the file, then 4.0 s ring-out
     ins: exit 1; Rings      1, longest 10.6 s; Recording  0:01.2 to 0:11.2 of the file, then 4.0 s ring-out
     trunc: exit 1; Rings      1, longest 11.6 s; Recording  0:01.2 to 0:11.2 of the file, then 4.0 s ring-out
ok   4 flip3 exit 1
ok   4: Differing  3 positions in 3 runs
ok   4: Rings      3, longest 1.8 s
ok   4: Last       byte 400,001, file time 0:09.0
ok   4: File       null.wav, 0:11.8
ok   4 burst exit 1
ok   4: Length     same
ok   4 burst ring 2.6 s
ok   4 burst last byte 110000
ok   4 burst recording ends 0:02.4
ok   4 burst Differing 9,179 positions in 703 runs equals cmp -l
ok   4 ins exit 1
ok   4: First      byte 100,001, file time 0:02.2
ok   4: Length     B is 1 byte longer
ok   4 Last       end of B, after byte 2,629,262, file time 0:59.6
ok   4 ins ring 10.6 s
ok   4 trunc exit 1
ok   4: First      end of B, after byte 100,000, file time 0:02.2
ok   4 Last       end of A, after byte 2,629,261, file time 0:59.6
ok   4: Length     B is 2,529,261 bytes shorter
ok   4 trunc ring 11.6 s
== 5 agrees with cmp
ok   5 same: nulltest 0, cmp -s 0
ok   5 flip1: nulltest 1, cmp -s 1
ok   5 flip1 first 100001, cmp 100001
ok   5 flip1 differing 1, cmp -l 1
ok   5 flip3: nulltest 1, cmp -s 1
ok   5 flip3 first 100001, cmp 100001
ok   5 flip3 differing 3, cmp -l 3
ok   5 burst: nulltest 1, cmp -s 1
ok   5 burst differing 9179, cmp -l 9179
ok   5 ins: nulltest 1, cmp -s 1
ok   5 ins first 100001, cmp 100001
ok   5 trunc: nulltest 1, cmp -s 1
== 6 single file and no drone
ok   6 exit 0
ok   6: B          (none)
ok   6: Method     A through the string, alone
ok   6: Result     RENDERED
ok   6: First      n/a
ok   6: Last       n/a
ok   6: Differing  n/a
ok   6: Length     n/a
ok   6 samples: 23197 True True
== 7 errors and limits
ok   7 stdout empty
ok   7 nulltest: cannot read A: open nosuch.bin: no such file or directory. Nothing was compared.
ok   7 exit 2
ok   7 null.wav untouched
ok   7 nulltest: B is larger than 256 MiB. Nothing was compared. exit 2
ok   7 nulltest : usage, exit 2
ok   7 nulltest a b c: usage, exit 2
ok   7 nulltest -s 1 real.bin same.bin: usage, exit 2
ok   7 nulltest -s 121 real.bin same.bin: usage, exit 2
== 8 the sheet in a real terminal
ok   8 flip1.bin: 20 lines, at most 64 columns, header matches
ok   8 same.bin: 20 lines, at most 64 columns, header matches
ok   8 ins.bin: 20 lines, at most 64 columns, header matches
ok   8 README.md: 20 lines, at most 64 columns, header matches
ok   8 nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.bin: 20 lines, at most 64 columns, header matches
ok   8 A ...nnnnnnnnnnnnnnnnnnnnnnn.bin 2,629,261 bytes
ok   8 tmux pane lines 1 to 20 equal sheet.txt
ok   8 the only other text is EXIT=1
== 9 options
ok   9 -s 5: 396900 samples, at most 396,900
ok   9 Recording 0:01.2 to 0:06.2 of the file, then 4.0 s ring-out
ok   9 File null.wav, 0:09.0
ok   9 -o out.wav written, null.wav untouched
== 10 quiet means no file
ok   10: File       not written
ok   10 empty directory still empty
== 11 Ctrl-C stops the sound
ok   11 stand-in player running
ok   11 EXIT=1 65 ms after Ctrl-C
== 0 failed
