Files
LeetCode-Go/leetcode/0745.Prefix-and-Suffix-Search/745. Prefix and Suffix Search_test.go
2020-08-07 17:06:53 +08:00

16 lines
317 B
Go

package leetcode
import (
"fmt"
"testing"
)
func Test_Problem745(t *testing.T) {
obj := Constructor745([]string{"apple"})
fmt.Printf("obj = %v\n", obj)
param1 := obj.F("a", "e")
fmt.Printf("param_1 = %v obj = %v\n", param1, obj)
param2 := obj.F("b", "")
fmt.Printf("param_2 = %v obj = %v\n", param2, obj)
}