(t *testing.T)
| 21 | } |
| 22 | |
| 23 | func TestBipartite(t *testing.T) { |
| 24 | for _, tc := range testCases { |
| 25 | t.Run(tc.name, func(t *testing.T) { |
| 26 | actual := BipartiteCheck(tc.N, tc.edges) |
| 27 | if tc.isBipartite != actual { |
| 28 | t.Errorf("failed %s: %v", tc.name, tc.edges) |
| 29 | } |
| 30 | }) |
| 31 | } |
| 32 | } |
nothing calls this directly
no test coverage detected