On Monday, 26 October 2020 at 13:36:58 UTC, Steven Schveighoffer
wrote:
On 10/26/20 9:16 AM, Vladimirs Nordholm wrote:
[...]
Wherever you want. Generally people put it right after the
thing being tested to keep files organized.
When the compiler runs unittests it runs them all in the
sequence they are in the file.
One place to be cautious though -- if you put them inside a
template, they will be created for every instantiation of that
template.
-Steve
Thanks for the explanation (and the warning) Steve :)