(t *testing.T)
| 29 | } |
| 30 | |
| 31 | func TestWordBreak(t *testing.T) { |
| 32 | t.Run("Word Break test cases", func(t *testing.T) { |
| 33 | for _, tc := range getWordBreakTestCases() { |
| 34 | actual := dynamic.WordBreak(tc.s, tc.wordDict) |
| 35 | if actual != tc.expected { |
| 36 | t.Errorf("WordBreak(%q, %v) = %v; expected %v", tc.s, tc.wordDict, actual, tc.expected) |
| 37 | } |
| 38 | } |
| 39 | }) |
| 40 | } |
nothing calls this directly
no test coverage detected