Repository navigation
Commit ba2ae2f
committed
test: make changed2 always differ from original2 in collection generators
With RandGenBool an overwrite keeps the existing value half the time, so when
no elements were added or removed, changed2 could equal original2 and the
"do not match" assertions failed. Each overwrite now redraws until it differs
from the original element.1 parent 813d44a commit ba2ae2f
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1870 | 1870 | | |
1871 | 1871 | | |
1872 | 1872 | | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
1873 | 1878 | | |
1874 | 1879 | | |
1875 | 1880 | | |
| |||
2165 | 2170 | | |
2166 | 2171 | | |
2167 | 2172 | | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
2168 | 2178 | | |
2169 | 2179 | | |
2170 | 2180 | | |
| |||
3663 | 3673 | | |
3664 | 3674 | | |
3665 | 3675 | | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
3666 | 3681 | | |
3667 | 3682 | | |
3668 | 3683 | | |
| |||
0 commit comments