array: bring back reduce test

pull/3721/head
Alexander Medvednikov 2020-02-11 13:22:22 +01:00
parent 17212f816c
commit 0ec5680156
1 changed files with 0 additions and 2 deletions

View File

@ -414,7 +414,6 @@ fn sub(prev int, curr int) int {
}
fn test_reduce() {
/*
a := [1, 2, 3, 4, 5]
b := a.reduce(sum, 0)
c := a.reduce(sum, 5)
@ -427,7 +426,6 @@ fn test_reduce() {
g := e.reduce(sub, -1)
assert f == -6
assert g == -7
*/
}
fn test_filter() {