instancio: Instancio 6.1 lab (selectors, settings, seeds, records/sealed/generics, JUnit 6 extension, failing-seed capture)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
record Percent(int value) { compact ctor rejects value < 0 or > 100 }
|
||||
Instancio.of(Percent.class).withSeed(1L), 20 instances, default ints 1..10000:
|
||||
no exception thrown; null elements: 20 of 20
|
||||
with generate(all(int.class), ints().range(0, 100)):
|
||||
null elements: 0 of 20, first values: [Percent[value=93], Percent[value=22], Percent[value=75]]
|
||||
Reference in New Issue
Block a user