(self)
| 270 | self.CheckNetOutput([(self.cnt_net_, 0), (self.cnt_2_net_, 2)]) |
| 271 | |
| 272 | def testSwitchNot(self): |
| 273 | step = control.SwitchNot( |
| 274 | 'mySwitchNot', |
| 275 | (self.false_cond_net_, self.cnt_net_), |
| 276 | (self.true_cond_net_, self.cnt_2_net_) |
| 277 | ) |
| 278 | self.BuildAndRunPlan(step) |
| 279 | self.CheckNetOutput([(self.cnt_net_, 1), (self.cnt_2_net_, 0)]) |
| 280 | |
| 281 | def testBoolNet(self): |
| 282 | bool_net = control.BoolNet(('a', True)) |
nothing calls this directly
no test coverage detected