(self)
| 261 | self.IfNotElseCondTest(self.false_cond_net_, False, 1, True) |
| 262 | |
| 263 | def testSwitch(self): |
| 264 | step = control.Switch( |
| 265 | 'mySwitch', |
| 266 | (self.false_cond_net_, self.cnt_net_), |
| 267 | (self.true_cond_net_, self.cnt_2_net_) |
| 268 | ) |
| 269 | self.BuildAndRunPlan(step) |
| 270 | self.CheckNetOutput([(self.cnt_net_, 0), (self.cnt_2_net_, 2)]) |
| 271 | |
| 272 | def testSwitchNot(self): |
| 273 | step = control.SwitchNot( |
nothing calls this directly
no test coverage detected