SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 20:01:58 -05:00
committed by Peter Johnson
parent ae6bdc9d25
commit 2109161534
749 changed files with 5504 additions and 3936 deletions

View File

@@ -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]);
}
}