Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce4322b7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "TfLiteMotionPredictor_test: fix initialization order warnings" into main

parents 46fa4905 7e2ba260
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -89,23 +89,23 @@ TEST(TfLiteMotionPredictorTest, BuffersCopyTo) {
    buffers.pushSample(/*timestamp=*/1,
                       {.position = {.x = 10, .y = 10},
                        .pressure = 0,
                        .orientation = 0,
                        .tilt = 0.2});
                        .tilt = 0.2,
                        .orientation = 0});
    buffers.pushSample(/*timestamp=*/2,
                       {.position = {.x = 10, .y = 50},
                        .pressure = 0.4,
                        .orientation = M_PI / 4,
                        .tilt = 0.3});
                        .tilt = 0.3,
                        .orientation = M_PI / 4});
    buffers.pushSample(/*timestamp=*/3,
                       {.position = {.x = 30, .y = 50},
                        .pressure = 0.5,
                        .orientation = -M_PI / 4,
                        .tilt = 0.4});
                        .tilt = 0.4,
                        .orientation = -M_PI / 4});
    buffers.pushSample(/*timestamp=*/3,
                       {.position = {.x = 30, .y = 60},
                        .pressure = 0,
                        .orientation = 0,
                        .tilt = 0.5});
                        .tilt = 0.5,
                        .orientation = 0});
    buffers.copyTo(*model);

    const int zeroPadding = model->inputLength() - 3;