You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have two different custom generators for one type in two different compilation units?
I have two different tests in two different compilation units that both need to generate objects of the same custom class, but they need to generate them very differently. Is this possible?
Let's say I need another generator in another test that generates Vectors with only positive offset. I cannot put the generator in an anonymous namespace and thus there will be leakage between compilation units.
Is there an established way to work around this problem?
The text was updated successfully, but these errors were encountered:
Is it possible to have two different custom generators for one type in two different compilation units?
I have two different tests in two different compilation units that both need to generate objects of the same custom class, but they need to generate them very differently. Is this possible?
For instance
Let's say I need another generator in another test that generates
Vector
s with only positive offset. I cannot put the generator in an anonymous namespace and thus there will be leakage between compilation units.Is there an established way to work around this problem?
The text was updated successfully, but these errors were encountered: