Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal combination given when o:1 set #40

Open
CL749 opened this issue Feb 23, 2020 · 4 comments
Open

Illegal combination given when o:1 set #40

CL749 opened this issue Feb 23, 2020 · 4 comments

Comments

@CL749
Copy link

CL749 commented Feb 23, 2020

Hi Jacek,

I seem to be getting an illegal output but only when I've got the order set to 1 (version 3.3.8.0).

Here is my model file:
CCC: H, L
A0: 0,1
A1: 0,1
B0: 0,1
B1: 0,1
L0: 0,1
L1: 0,1
BIG: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32

IF [CCC] IN {"H"} THEN
([A0] = 1 OR [A1] = 1) AND ([B0] = 1 OR [B1] = 1);

IF [CCC] IN {"L"} THEN
[L0] = 1 OR
[L1] = 1;

If I run with /o:1 then I end up with cases where "CCC" is "H" and both A0 and A1 are 0.

If I run with /o:2 or above I don't get this issue.

I thought I'd let you know in case there is a bug in the tool or incase I'm doing something wrong.

@wainott
Copy link

wainott commented Feb 23, 2020

From the documentation: "specifying /o:1 will produce a test suite that merely covers all values (combinations of 1)." So, this is expected.

@jaccz
Copy link
Member

jaccz commented Feb 23, 2020

From the documentation: "specifying /o:1 will produce a test suite that merely covers all values (combinations of 1)." So, this is expected.

In this case, the documentation is imprecise. The result should cover all values in a way that honors the constraints. Seems like there's indeed a bug somewhere.

@hahaha2019yz
Copy link

From the documentation: "specifying /o:1 will produce a test suite that merely covers all values (combinations of 1)." So, this is expected.

Hi, wainott @wainott do you have the same problem I've found in #41 ?

@hahaha2019yz
Copy link

Hi Jacek,

I seem to be getting an illegal output but only when I've got the order set to 1 (version 3.3.8.0).

Here is my model file:
CCC: H, L
A0: 0,1
A1: 0,1
B0: 0,1
B1: 0,1
L0: 0,1
L1: 0,1
BIG: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32

IF [CCC] IN {"H"} THEN
([A0] = 1 OR [A1] = 1) AND ([B0] = 1 OR [B1] = 1);

IF [CCC] IN {"L"} THEN
[L0] = 1 OR
[L1] = 1;

If I run with /o:1 then I end up with cases where "CCC" is "H" and both A0 and A1 are 0.

If I run with /o:2 or above I don't get this issue.

I thought I'd let you know in case there is a bug in the tool or incase I'm doing something wrong.

Hi, CL749 @CL749 do you have the same problem I've found in #41 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants