JamieLine / UnmaskedCXX

Automatic test generation for C/C++ Programs (WIP)
Other
0 stars 0 forks source link

Generators should be able to take in parameters #4

Closed JamieLine closed 7 months ago

JamieLine commented 7 months ago

Perhaps from a larger context object?

Something like the following

UnmaskedSetTemporaryParameter(INT_UPPER_BOUND, 100):

UnmaskedTestWhichGeneratesOneInt(...); // Int is in [10, 100]
UnmaskedTestWhichGeneratesOneInt(...); // Int >= 10, no upper bound.