Files
LeetCode-Go/leetcode/0341.Flatten-Nested-List-Iterator/341. Flatten Nested List Iterator_test.go
2021-03-24 11:36:45 +08:00

14 lines
237 B
Go

package leetcode
import (
"fmt"
"testing"
)
func Test_Problem338(t *testing.T) {
obj := Constructor([]*NestedInteger{})
fmt.Printf("obj = %v\n", obj)
fmt.Printf("obj = %v\n", obj.Next())
fmt.Printf("obj = %v\n", obj.HasNext())
}