25 lines
394 B
Go
25 lines
394 B
Go
package micro
|
|
|
|
import "testing"
|
|
|
|
func TestAs(t *testing.T) {
|
|
type args struct {
|
|
b any
|
|
target any
|
|
}
|
|
tests := []struct {
|
|
name string
|
|
args args
|
|
want bool
|
|
}{
|
|
// TODO: Add test cases.
|
|
}
|
|
for _, tt := range tests {
|
|
t.Run(tt.name, func(t *testing.T) {
|
|
if got := As(tt.args.b, tt.args.target); got != tt.want {
|
|
t.Errorf("As() = %v, want %v", got, tt.want)
|
|
}
|
|
})
|
|
}
|
|
}
|