下一个要发布的问题:
你好,
我有以下测试用例:
<’
struct item_s {
payload:list of byte;
kind:[SMALL,BIG];
when SMALL item_s {
keep payload.size() < 10;
};
};
extend sys {
!item:item_s;
run() is also {
for i from 1 to 10 {
gen item keeping {
.payload.size() == 100;
};
};
};
};
‘>
我希望测试只生成大项目。相反,我看到偶尔会生成一个 SMALL 项目,这会导致矛盾。这种行为的解释是什么?