mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Make C++ test names more consistent (#3586)
Inconsistent names were found using the following regular expressions. * `rg "TEST(_F|_P)?\(\w+,\s+\w+Test\)"` * `rg "TEST(_F|_P)?\(\w+,\s+Test\w+\)"` * `rg "TEST(_F|_P)?\(\w+Tests,\s+\w+\)"` Fixes #3495.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace frc::sim {
|
||||
|
||||
TEST(ADXL345SimTests, SetSpiAttributes) {
|
||||
TEST(ADXL345SimTest, SetSpiAttributes) {
|
||||
HAL_Initialize(500, 0);
|
||||
|
||||
ADXL345_SPI accel(SPI::kMXP, Accelerometer::kRange_2G);
|
||||
@@ -36,7 +36,7 @@ TEST(ADXL345SimTests, SetSpiAttributes) {
|
||||
EXPECT_EQ(2.29, allAccel.ZAxis);
|
||||
}
|
||||
|
||||
TEST(ADXL345SimTests, SetI2CAttribute) {
|
||||
TEST(ADXL345SimTest, SetI2CAttribute) {
|
||||
HAL_Initialize(500, 0);
|
||||
|
||||
ADXL345_I2C accel(I2C::kMXP);
|
||||
|
||||
Reference in New Issue
Block a user