Best location for a TWindex unit test?

Before PR-ing a simple fix for Strange behavior – where is the best place to put a unit test for it? TestCoreUGens?

Seems wasteful to create a dedicated TestTWindex class.

Thought I’d ask, to avoid static during review.


I think it is fine if you create a TestTWindex. Try writing out your tests in a new UnitTest Class and see afterwards if you feel they should do somewhere else instead.

Ah… I’m afraid I just put it into TestCoreUGens.

Moving it now would create clutter in the commit history, so I’ll just submit it as it is. If it’s so important to split it into a different test class, then it will come up in review (but IMO it’s not worth fussing over).