@@ -44,16 +44,6 @@ TEST_F(MotorTest, MotorGoCallsRcMotorSet) {
4444 EXPECT_EQ (0 , result) << " MotorGo should return success" ;
4545}
4646
47- // Test MotorGo with minimum RPM
48- TEST_F (MotorTest, MotorGoMinRPM) {
49- EXPECT_CALL (GetMockRCMotor (), set (0 , ::testing::_)).WillOnce (::testing::Return (0 ));
50-
51- motor = new Motor (0 , false , {1 .5f , 0 .056f , 1 .5f });
52- int result = motor->MotorGo (Motor::kMinRpm );
53-
54- EXPECT_EQ (0 , result);
55- }
56-
5747// Test MotorGo with inverted motor direction
5848TEST_F (MotorTest, MotorGoInverted) {
5949 // For inverted motor, the duty cycle should be negative
@@ -65,17 +55,6 @@ TEST_F(MotorTest, MotorGoInverted) {
6555 EXPECT_EQ (0 , result);
6656}
6757
68- // Test MotorGo with RPM below minimum
69- TEST_F (MotorTest, MotorGoBelowMinRPM) {
70- // Verify behavior with RPM below minimum (should set to MIN_RPM or handle specially)
71- EXPECT_CALL (GetMockRCMotor (), set (0 , ::testing::_)).WillOnce (::testing::Return (0 ));
72-
73- motor = new Motor (0 , false , {1 .5f , 0 .056f , 1 .5f });
74- int result = motor->MotorGo (Motor::kMinRpm - 1 );
75-
76- EXPECT_EQ (0 , result);
77- }
78-
7958// Test MotorGo with RPM above maximum
8059TEST_F (MotorTest, MotorGoAboveMaxRPM) {
8160 // Verify behavior with RPM above maximum (should clamp to MAX_RPM)
0 commit comments