Skip to content

Commit

Permalink
setPose
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan1522 committed Nov 10, 2024
1 parent 4bb3578 commit 8e368a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/SwerveDriveTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void testSetPose() {
Pose2d newPose = new Pose2d(3.0, 4.0, Rotation2d.fromDegrees(90));
swerveDrive.setPose(newPose);

// Verify that the resetPosition method was called with the new pose
// Verify that the setPose method was called with the new pose
verify(swerveDrive).setPose(eq(newPose));
}
}

0 comments on commit 8e368a1

Please sign in to comment.