(self, run, main_run)
| 362 | |
| 363 | |
| 364 | def PrintComparison(self, run, main_run): |
| 365 | if run is None or main_run is None: |
| 366 | self.PrintEmptyCell() |
| 367 | return |
| 368 | diff = run.Compare(main_run) |
| 369 | res = diff.percentage_string() |
| 370 | if diff.isSignificant(): |
| 371 | res = self.bold(res) |
| 372 | if diff.isNotablyPositive(): |
| 373 | res = self.green(res) |
| 374 | elif diff.isNotablyNegative(): |
| 375 | res = self.red(res) |
| 376 | self.Print(" <td>%s</td>" % res) |
| 377 | |
| 378 | |
| 379 | def PrintEmptyCell(self): |
no test coverage detected