feat: add create salty user

This commit is contained in:
Jon Lundy
2022-08-14 10:04:15 -06:00
parent 5ab185df21
commit ad57c89945
18 changed files with 969 additions and 54 deletions

View File

@@ -1,7 +1,6 @@
package math_test
import (
"log"
"testing"
"github.com/matryer/is"
@@ -82,9 +81,9 @@ func TestPagerBox(t *testing.T) {
for _, tt := range tests {
start, count := math.PagerBox(tt.first, tt.last, tt.pos, tt.n)
if count > 0 {
log.Print(tt, "|", start, count, int64(start)+count-1)
t.Log(tt, "|", start, count, int64(start)+count-1)
} else {
log.Print(tt, "|", start, count, int64(start)+count+1)
t.Log(tt, "|", start, count, int64(start)+count+1)
}
is.Equal(start, tt.start)