mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-05 16:36:41 +08:00
16 lines
317 B
Go
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)
|
|
}
|