Lines Matching refs:X
30 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
32 EXPECT_NE(&X, &Y); in TEST_F()
37 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
38 auto &XAndX = Context.getOrCreateConjunction(X, X); in TEST_F()
39 EXPECT_EQ(&XAndX, &X); in TEST_F()
44 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
46 auto &XAndY1 = Context.getOrCreateConjunction(X, Y); in TEST_F()
47 auto &XAndY2 = Context.getOrCreateConjunction(X, Y); in TEST_F()
50 auto &YAndX = Context.getOrCreateConjunction(Y, X); in TEST_F()
54 auto &XAndZ = Context.getOrCreateConjunction(X, Z); in TEST_F()
60 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
61 auto &XOrX = Context.getOrCreateDisjunction(X, X); in TEST_F()
62 EXPECT_EQ(&XOrX, &X); in TEST_F()
67 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
69 auto &XOrY1 = Context.getOrCreateDisjunction(X, Y); in TEST_F()
70 auto &XOrY2 = Context.getOrCreateDisjunction(X, Y); in TEST_F()
73 auto &YOrX = Context.getOrCreateDisjunction(Y, X); in TEST_F()
77 auto &XOrZ = Context.getOrCreateDisjunction(X, Z); in TEST_F()
83 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
84 auto &NotX1 = Context.getOrCreateNegation(X); in TEST_F()
85 auto &NotX2 = Context.getOrCreateNegation(X); in TEST_F()
95 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
96 auto &XImpliesX = Context.getOrCreateImplication(X, X); in TEST_F()
102 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
104 auto &XImpliesY1 = Context.getOrCreateImplication(X, Y); in TEST_F()
105 auto &XImpliesY2 = Context.getOrCreateImplication(X, Y); in TEST_F()
108 auto &YImpliesX = Context.getOrCreateImplication(Y, X); in TEST_F()
112 auto &XImpliesZ = Context.getOrCreateImplication(X, Z); in TEST_F()
117 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
118 auto &XIffX = Context.getOrCreateIff(X, X); in TEST_F()
124 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
126 auto &XIffY1 = Context.getOrCreateIff(X, Y); in TEST_F()
127 auto &XIffY2 = Context.getOrCreateIff(X, Y); in TEST_F()
130 auto &YIffX = Context.getOrCreateIff(Y, X); in TEST_F()
134 auto &XIffZ = Context.getOrCreateIff(X, Z); in TEST_F()
217 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
224 EXPECT_TRUE(Context.equivalentBoolValues(X, X)); in TEST_F()
226 EXPECT_FALSE(Context.equivalentBoolValues(X, Y)); in TEST_F()
229 EXPECT_FALSE(Context.equivalentBoolValues(Context.getOrCreateNegation(X), X)); in TEST_F()
232 Context.getOrCreateNegation(Context.getOrCreateNegation(X)), X)); in TEST_F()
236 Context.equivalentBoolValues(Context.getOrCreateDisjunction(X, X), X)); in TEST_F()
239 Context.equivalentBoolValues(Context.getOrCreateDisjunction(X, Y), X)); in TEST_F()
242 Context.getOrCreateDisjunction(X, True), True)); in TEST_F()
245 Context.getOrCreateDisjunction(X, False), X)); in TEST_F()
249 Context.equivalentBoolValues(Context.getOrCreateConjunction(X, X), X)); in TEST_F()
252 Context.equivalentBoolValues(Context.getOrCreateConjunction(X, Y), X)); in TEST_F()
255 Context.equivalentBoolValues(Context.getOrCreateConjunction(X, True), X)); in TEST_F()
258 Context.getOrCreateConjunction(X, False), False)); in TEST_F()
262 Context.equivalentBoolValues(Context.getOrCreateDisjunction(X, Y), in TEST_F()
263 Context.getOrCreateDisjunction(Y, X))); in TEST_F()
266 Context.equivalentBoolValues(Context.getOrCreateConjunction(X, Y), in TEST_F()
267 Context.getOrCreateConjunction(Y, X))); in TEST_F()
271 Context.getOrCreateDisjunction(Context.getOrCreateDisjunction(X, Y), Z), in TEST_F()
272 Context.getOrCreateDisjunction(X, Context.getOrCreateDisjunction(Y, Z)))); in TEST_F()
275 Context.getOrCreateConjunction(Context.getOrCreateConjunction(X, Y), Z), in TEST_F()
276 Context.getOrCreateConjunction(X, Context.getOrCreateConjunction(Y, Z)))); in TEST_F()
308 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
314 Context.addFlowConditionConstraint(FC, X); in TEST_F()
318 Context.buildAndSubstituteFlowCondition(FC, {{&X, &True}}); in TEST_F()
323 Context.buildAndSubstituteFlowCondition(FC, {{&X, &False}}); in TEST_F()
328 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
334 Context.addFlowConditionConstraint(FC, Context.getOrCreateNegation(X)); in TEST_F()
338 Context.buildAndSubstituteFlowCondition(FC, {{&X, &True}}); in TEST_F()
343 Context.buildAndSubstituteFlowCondition(FC, {{&X, &False}}); in TEST_F()
348 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
355 Context.addFlowConditionConstraint(FC, Context.getOrCreateDisjunction(X, Y)); in TEST_F()
359 Context.buildAndSubstituteFlowCondition(FC, {{&X, &True}}); in TEST_F()
364 Context.buildAndSubstituteFlowCondition(FC, {{&X, &False}}); in TEST_F()
369 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
376 Context.addFlowConditionConstraint(FC, Context.getOrCreateConjunction(X, Y)); in TEST_F()
380 Context.buildAndSubstituteFlowCondition(FC, {{&X, &True}}); in TEST_F()
385 Context.buildAndSubstituteFlowCondition(FC, {{&X, &False}}); in TEST_F()
390 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
397 Context.addFlowConditionConstraint(FC, Context.getOrCreateImplication(X, Y)); in TEST_F()
401 Context.buildAndSubstituteFlowCondition(FC, {{&X, &True}}); in TEST_F()
406 Context.buildAndSubstituteFlowCondition(FC, {{&X, &False}}); in TEST_F()
418 Context.getOrCreateNegation(X))); in TEST_F()
422 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
429 Context.addFlowConditionConstraint(FC, Context.getOrCreateIff(X, Y)); in TEST_F()
433 Context.buildAndSubstituteFlowCondition(FC, {{&X, &True}}); in TEST_F()
438 Context.buildAndSubstituteFlowCondition(FC, {{&X, &False}}); in TEST_F()
445 EXPECT_TRUE(Context.equivalentBoolValues(FCWithYTrue, X)); in TEST_F()
451 Context.getOrCreateNegation(X))); in TEST_F()
455 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
463 Context.addFlowConditionConstraint(FC, Context.getOrCreateConjunction(X, Y)); in TEST_F()
473 ForkedFCWithZTrue, Context.getOrCreateConjunction(X, Y))); in TEST_F()
476 EXPECT_TRUE(Context.equivalentBoolValues(ForkedFCWithYAndZTrue, X)); in TEST_F()
480 Context.buildAndSubstituteFlowCondition(ForkedFC, {{&X, &False}}); in TEST_F()
491 auto &X = Context.createAtomicBoolValue(); in TEST_F() local
499 Context.addFlowConditionConstraint(FC1, X); in TEST_F()
509 Context.buildAndSubstituteFlowCondition(JoinedFC, {{&X, &True}}); in TEST_F()
519 JoinedFCWithZTrue, Context.getOrCreateDisjunction(X, Y))); in TEST_F()
524 Context.buildAndSubstituteFlowCondition(JoinedFC, {{&X, &False}}); in TEST_F()
530 JoinedFCWithYFalse, Context.getOrCreateConjunction(X, Z))); in TEST_F()