# Very Specific Combination of Parameters

### Pregunta

• Hello All,

I have some specific requirements regarding paramater combination. For example say we have an action ToTest(param1, param2). param1 have values(1,2,3) and param2 have values(a,b,c). I just want that a combination that results in ToTest(1,a), ToTest(2,b), ToTest(3,c) and nothing else.

I know i can achieve these cases by using:

Combination.Seeded(param1 == 1, param2 == "a");
Combination.Seeded(param1 == 2, param2 == "b");
Combination.Seeded(param1 == 3, param2 == "c");

However, i also get other combinations of parameters. Then I tried using isolated along with seeded as:

Combination.Isolated(param1 == 1);
Combination.Isolated(param1 == 2);
Combination.Isolated(param1 == 3); which should logically solve my problem and should result in the expected combinations but the exploration ends in an error state saying "seed(.....) cannot be satisfied. Any clues how i can achieve the expected combinations?

Thanks,

Vivek

viernes, 01 de junio de 2012 8:38

### Respuestas

• Hi Vivek,

Condition.IsTrue(
param1==1 & param2 == "a" |
param1==2 & param2 == "b" |
param1==3 & param2 == "c");

could be a solution.

Hope it helps.

• Marcado como respuesta viernes, 01 de junio de 2012 12:28
viernes, 01 de junio de 2012 12:06

### Todas las respuestas

• Hi Vivek,

Condition.IsTrue(
param1==1 & param2 == "a" |
param1==2 & param2 == "b" |
param1==3 & param2 == "c");

could be a solution.

Hope it helps.

• Marcado como respuesta viernes, 01 de junio de 2012 12:28
viernes, 01 de junio de 2012 12:06
• Thanks bububa.....this is the solution...

viernes, 01 de junio de 2012 12:30