Style Guide/C Cpp - Blender Developer Wiki mentions:
Tests should be in the same namespace as the code they are testing.
But Style Guide/C Cpp - Blender Developer Wiki mentions:
The namespace for tests is the tests sub-namespace of the code under test. For example, tests for blender::bke should be in blender::bke::tests.
.
To my understanding tests should always be in a ::tests
child namespace, and therefore the line Tests should be in the same namespace as the code they are testing.
could be misunderstood.
Should we change the line to Tests should be in the child 'tests' namespace of the code they are testing. For example, tests for blender::bke should be in blender::bke::tests.
.