fix: harden recovery flow and clean diagnostics
This commit is contained in:
parent
0158b0215f
commit
ff78710303
64 changed files with 1163 additions and 418 deletions
|
|
@ -42,9 +42,15 @@ func _run() -> void:
|
|||
|
||||
|
||||
func _validate_clock_boundaries_and_duration() -> void:
|
||||
assert(WorldTimeServiceType.REAL_SECONDS_PER_CYCLE == 86400.0)
|
||||
var real_seconds_per_cycle: float = (
|
||||
WorldTimeServiceType.REAL_SECONDS_PER_CYCLE
|
||||
)
|
||||
var hours_per_real_second: float = (
|
||||
WorldTimeServiceType.HOURS_PER_REAL_SECOND
|
||||
)
|
||||
assert(real_seconds_per_cycle == 86400.0)
|
||||
assert(is_equal_approx(
|
||||
WorldTimeServiceType.HOURS_PER_REAL_SECOND,
|
||||
hours_per_real_second,
|
||||
1.0 / 3600.0,
|
||||
))
|
||||
assert(is_equal_approx(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue