package threadsapi

import "testing"

func TestKeywordQueriesFromHint(t *testing.T) {
	queries := keywordQueriesFromHint("最近換季皮膚好乾，大家有推薦的保濕產品嗎？")
	if len(queries) == 0 {
		t.Fatal("expected keyword queries")
	}
	if queries[0] == "" {
		t.Fatal("first query empty")
	}
}
