As I pointed out in the PR description, when building the new test miniframework (from #1734) as a separate translation unit, it fails
In that case, you should add the *_impl.h
include in the binary’s top-level file, not here.
I think it helps to think about the *_impl.h
files as if they were .cpp
files: you would never include them directly in any file. You would only include the headers with the public functions/structs and then link the object files to get their implementations. But since we have a single translation unit here, we include them only in the top-level binary.
Side note: we could also remove this include from the unit test side if needed. Could just add a pointer to the RNG init function and done.