live mission details in footer implemented
This commit is contained in:
@@ -90,8 +90,12 @@ void main() {
|
||||
expect(parseMspNavStatusActiveWaypoint(navStatusPayload(0)), isNull);
|
||||
});
|
||||
|
||||
test('activeWpNumber > 0 wird durchgereicht', () {
|
||||
expect(parseMspNavStatusActiveWaypoint(navStatusPayload(5)), 5);
|
||||
test('activeWpNumber > 0 wird zu einem 0-basierten Index umgerechnet', () {
|
||||
expect(parseMspNavStatusActiveWaypoint(navStatusPayload(5)), 4);
|
||||
});
|
||||
|
||||
test('activeWpNumber 1 (erster Wegpunkt aktiv) wird zu Index 0', () {
|
||||
expect(parseMspNavStatusActiveWaypoint(navStatusPayload(1)), 0);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user