Commit 55867bb7 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

fix comment so it actually makes sense

parent e94d36fc
......@@ -217,10 +217,10 @@ TEST_CASE("door controller parses status json")
localtime_r(&first->end, &end);
// 10 o'clock in our current tie zone is going to come 3 hours early in a place behind us
// But since we are close to the end of the day roll over at midnight we roll over
// so 1 - 3 = 24 - 3 = 21
// So 1 AM - 10 PM = 01 - 22 = -21
// I HATE TIMEZONES
// Also, west coast best coast
REQUIRE(start.tm_hour - end.tm_hour == 21);
REQUIRE(end.tm_hour - start.tm_hour == -21);
}
SECTION("parser wont parse invalid json")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment