Fix test and add skynet example.

This commit is contained in:
Bob Nystrom
2016-02-14 22:21:50 -08:00
parent d823896136
commit b8e85c83a8
3 changed files with 29 additions and 2 deletions

View File

@ -27,6 +27,6 @@ for (i in 1..5000) {
System.print(histogram.count) // expect: 24
for (key in histogram.keys) {
var error = (histogram[key] / (5000 / 24) - 1).abs
if (error > 0.2) System.print("!!! %(error)")
if (error > 0.21) System.print("!!! %(error)")
}