Another DCT test to hit the cosine cache.
Check some edge cases in TriangleGenerator.