(bounds)
| 58 | |
| 59 | |
| 60 | def mandelbrotSide(bounds): |
| 61 | count = 1 |
| 62 | if mandelbrotTest(bounds[0], bounds[2]): |
| 63 | count += 1 |
| 64 | if mandelbrotTest(bounds[1], bounds[2]): |
| 65 | count += 1 |
| 66 | if mandelbrotTest(bounds[0], bounds[3]): |
| 67 | count += 1 |
| 68 | if mandelbrotTest(bounds[1], bounds[3]): |
| 69 | count += 1 |
| 70 | return count |
| 71 | |
| 72 | |
| 73 | def shouldRefine(level, bounds): |
no test coverage detected