Correct the output time
This commit is contained in:
4
suite.py
4
suite.py
@@ -22,9 +22,9 @@ def format_delta(a: float, b: float, d: float) -> Text:
|
|||||||
col = "spring_green2"
|
col = "spring_green2"
|
||||||
else:
|
else:
|
||||||
col = "green1"
|
col = "green1"
|
||||||
return Text(f"{b:.3f} ({d:.1f}%)", style=col)
|
return Text(f"{a:.3f} ({d:.1f}%)", style=col)
|
||||||
else:
|
else:
|
||||||
return Text(f"{b:.3f} (-{d:.1f}%)", style="red")
|
return Text(f"{a:.3f} (-{d:.1f}%)", style="red")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user