diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2016-08-14 11:58:47 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-08-14 11:58:47 +0900 |
commit | 41e916a511f37848168a3cddf7cbd1ea1a9ba8da (patch) | |
tree | 78356cdb62c711fd1a2f84cedec5bd306efdff64 /src/util/util_test.go | |
parent | d9c8a9a880dd9fc28c9fb466bd1c81cd6a8a159c (diff) |
[perf] evaluateBonus can start from sidx - 1
Diffstat (limited to 'src/util/util_test.go')
-rw-r--r-- | src/util/util_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util_test.go b/src/util/util_test.go index 06cfd4f2..d6a03d9d 100644 --- a/src/util/util_test.go +++ b/src/util/util_test.go @@ -3,7 +3,7 @@ package util import "testing" func TestMax(t *testing.T) { - if Max(-2, 5, 1, 4, 3) != 5 { + if Max(-2, 5) != 5 { t.Error("Invalid result") } } |