mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -54,11 +54,13 @@ TEST(CircularSpanTest, ConstructConst) {
|
||||
EXPECT_EQ(sp[5], arr_values[5]);
|
||||
}
|
||||
{
|
||||
wpi::util::rotated_span<const int> sp{cvec_values.begin(), cvec_values.end()};
|
||||
wpi::util::rotated_span<const int> sp{cvec_values.begin(),
|
||||
cvec_values.end()};
|
||||
EXPECT_EQ(sp[5], vec_values[5]);
|
||||
}
|
||||
{
|
||||
wpi::util::rotated_span<const int> sp{cvec_values.data(), cvec_values.size()};
|
||||
wpi::util::rotated_span<const int> sp{cvec_values.data(),
|
||||
cvec_values.size()};
|
||||
EXPECT_EQ(sp[5], vec_values[5]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user