Repository navigation
Read each requirement of the Part 4 class cquery through the test that states it - #86
Merged
Merged
Conversation
…t states it ats_part4_test.go holds the requirements of the class cquery of OGC API - Moving Features - Part 4 as rows beside the abstract tests of Part 1, keyed by the identifier and number the draft gives them (Req 1 cquery_link, Req 2 window, Req 3 window_tumbling, Req 4 window_hopping, Req 5 window_count), each naming the test that reads the answer it states. The rows are held to CONFORMANCE.md, which records the requirements from the draft MobilityAPI implements, row by row with the test it names, and to the test files. A window result carries the bounds of its window: emitWindow writes [start, end) for a time window, the span boundaries a TUMBLING or HOPPING window covers, and [start, end] for a COUNT window, the times of its first and last record. TestMeosWindowBounds reads them for each kind of window and TestMeosTumblingWindow reads Requirement 3, two consecutive windows of fixed duration that meet. Witness. A window result carried the times of its first and last record whatever its kind: a 3 s tumbling window [00:00, 00:03) over records at 1 s and 2 s reported [00:01, 00:02], a hopping window [-2 s, 1 s) reported [00:00, 00:00], and consecutive tumbling windows did not meet. Requirement 2 was credited to TestWindowResultShape, which built an Event literal and checked the literal's own keys, reading nothing the service writes. Measured. go test passes with and without the meos tag, libmeos built from MobilityDB master 0d5a079d63; on master's engine the two new tests fail on the TUMBLING and HOPPING bounds and pass on COUNT.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ats_part4_test.go holds the requirements of the class cquery of OGC API -
Moving Features - Part 4 as rows beside the abstract tests of Part 1, keyed
by the identifier and number the draft gives them (Req 1 cquery_link, Req 2
window, Req 3 window_tumbling, Req 4 window_hopping, Req 5 window_count), each
naming the test that reads the answer it states. The rows are held to
CONFORMANCE.md, which records the requirements from the draft MobilityAPI
implements, row by row with the test it names, and to the test files.
A window result carries the bounds of its window: emitWindow writes
[start, end) for a time window, the span boundaries a TUMBLING or HOPPING
window covers, and [start, end] for a COUNT window, the times of its first
and last record. TestMeosWindowBounds reads them for each kind of window and
TestMeosTumblingWindow reads Requirement 3, two consecutive windows of fixed
duration that meet.
Witness. A window result carried the times of its first and last record
whatever its kind: a 3 s tumbling window [00:00, 00:03) over records at 1 s
and 2 s reported [00:01, 00:02], a hopping window [-2 s, 1 s) reported
[00:00, 00:00], and consecutive tumbling windows did not meet. Requirement 2
was credited to TestWindowResultShape, which built an Event literal and
checked the literal's own keys, reading nothing the service writes.
Measured. go test passes with and without the meos tag, libmeos built from
MobilityDB master 0d5a079d63; on master's engine the two new tests fail on
the TUMBLING and HOPPING bounds and pass on COUNT.