I want AutoFixture to generate two integers, and for the second one, I don't want it to be 0, or the previous generated number. Is there a way to tell AutoFixture to honor that "requirement".
Looking at RandomNumericSequenceGenerator
, I looks like the lower limit is 1, so I might not have to specify the first requirement. Next, I was looking at the "seeding" option, but as indicated in this answer, it won't be used for a number, by default.
Is there something I'm overlooking here?
fixture.CreateMany(2)
? As i understand from the documentation link the second number will be always > 0 and not another number. – Rhapsodic