feat: Add some inital tests

This commit is contained in:
2025-09-02 15:20:31 +10:00
parent e0f24267f5
commit 56eabfc1fc
2 changed files with 7 additions and 7 deletions

View File

@@ -1906,3 +1906,9 @@ if __name__ == '__main__':
app.run(debug=True)
else:
app.run()
def tests():
assert blocks_to_time(6) == "1 hrs"
assert blocks_to_time(3) == "30 mins"
assert blocks_to_time(1) == "10 mins"
assert blocks_to_time(10) == "1 hrs 40 mins"