Add a unit test with three distinct vector spaces to our C++ unit tests. Due to how templating works, it's possible that we used the wrong vector space in our code (X as opposed to Y or Z), and it's not detected by the compiler because we use the same vector space in each case, such as Rm. To eliminate these errors, we need three different vectors spaces with unique classes for X, Y, and Z in a unit test. Then, the compiler should correctly find these errors.
Add a unit test with three distinct vector spaces to our C++ unit tests. Due to how templating works, it's possible that we used the wrong vector space in our code (X as opposed to Y or Z), and it's not detected by the compiler because we use the same vector space in each case, such as Rm. To eliminate these errors, we need three different vectors spaces with unique classes for X, Y, and Z in a unit test. Then, the compiler should correctly find these errors.