mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +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:
@@ -13,7 +13,7 @@
|
||||
static constexpr double kScale = 270.0;
|
||||
static constexpr double kAngle = 180.0;
|
||||
|
||||
TEST(AnalogPotentiometerTest, TestInitialSettings) {
|
||||
TEST(AnalogPotentiometerTest, InitialSettings) {
|
||||
frc::AnalogOutput m_fakePot{TestBench::kAnalogOutputChannel};
|
||||
frc::AnalogPotentiometer m_pot{TestBench::kFakeAnalogOutputChannel, kScale};
|
||||
|
||||
@@ -23,7 +23,7 @@ TEST(AnalogPotentiometerTest, TestInitialSettings) {
|
||||
<< "The potentiometer did not initialize to 0.";
|
||||
}
|
||||
|
||||
TEST(AnalogPotentiometerTest, TestRangeValues) {
|
||||
TEST(AnalogPotentiometerTest, RangeValues) {
|
||||
frc::AnalogOutput m_fakePot{TestBench::kAnalogOutputChannel};
|
||||
frc::AnalogPotentiometer m_pot{TestBench::kFakeAnalogOutputChannel, kScale};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user