23 lines
290 B
Go
23 lines
290 B
Go
|
package util
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestStack(t *testing.T) {
|
||
|
fmt.Println(Stack())
|
||
|
}
|
||
|
|
||
|
func TestCallerFull(t *testing.T) {
|
||
|
fmt.Println(CallerFull(1))
|
||
|
}
|
||
|
|
||
|
func TestCallerMod(t *testing.T) {
|
||
|
fmt.Println(CallerMod(1))
|
||
|
}
|
||
|
|
||
|
func TestCaller(t *testing.T) {
|
||
|
fmt.Println(Caller(1))
|
||
|
}
|