()
| 27 | } |
| 28 | |
| 29 | function testIfs() { |
| 30 | if (obj) { |
| 31 | shouldNotBeTaken(); |
| 32 | } |
| 33 | |
| 34 | if (obj) { |
| 35 | shouldNotBeTaken(); |
| 36 | } else { |
| 37 | // do nothing |
| 38 | } |
| 39 | |
| 40 | if (!obj) { |
| 41 | // do nothing |
| 42 | } else { |
| 43 | shouldBeTaken(); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | function testWhiles() { |
| 48 | while (obj) { |
no test coverage detected