11 lines
110 B
Go
11 lines
110 B
Go
|
package gmath
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestMod(t *testing.T) {
|
||
|
fmt.Println(ModPositive(-1, 10))
|
||
|
}
|