Format cellular perception test assertion
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m1s
Foundation / checks (checks) (push) Failing after 4m2s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 3m8s
Foundation / checks (postgres) (push) Canceled after 5m3s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m1s
Foundation / checks (checks) (push) Failing after 4m2s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 3m8s
Foundation / checks (postgres) (push) Canceled after 5m3s
This commit is contained in:
@@ -136,10 +136,8 @@ void v8_perception_is_bounded_and_canonical() {
|
|||||||
auto duplicate = perception;
|
auto duplicate = perception;
|
||||||
duplicate.patches[1] = duplicate.patches[0];
|
duplicate.patches[1] = duplicate.patches[0];
|
||||||
CHECK(encode_session(SessionMessage{duplicate}).empty());
|
CHECK(encode_session(SessionMessage{duplicate}).empty());
|
||||||
CHECK(
|
const CellularPerception invalid{19, 0, {perception.patches[0]}, std::nullopt};
|
||||||
encode_session(
|
CHECK(encode_session(SessionMessage{invalid}).empty());
|
||||||
SessionMessage{CellularPerception{19, 0, {perception.patches[0]}, std::nullopt}})
|
|
||||||
.empty());
|
|
||||||
const CellularPerception cleared{19, 0, {}, std::nullopt};
|
const CellularPerception cleared{19, 0, {}, std::nullopt};
|
||||||
const auto clear_bytes = encode_session(SessionMessage{cleared});
|
const auto clear_bytes = encode_session(SessionMessage{cleared});
|
||||||
CHECK(std::get<CellularPerception>(*decode_session(clear_bytes)) == cleared);
|
CHECK(std::get<CellularPerception>(*decode_session(clear_bytes)) == cleared);
|
||||||
|
|||||||
Reference in New Issue
Block a user