1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00

Add trailing commas and clang-format comments to tests

This commit is contained in:
Hielke Morsink
2018-06-25 14:41:24 +02:00
parent 6753d860c7
commit 6fd9843dc3
6 changed files with 897 additions and 628 deletions

View File

@@ -60,9 +60,11 @@ TEST_F(CryptTests, SHA1_Basic)
TEST_F(CryptTests, SHA1_Multiple)
{
std::string input[] = { "Merry-go-round 2 looks too intense for me",
"This park is really clean and tidy",
"This balloon from Balloon Stall 1 is really good value" };
std::string input[] = {
"Merry-go-round 2 looks too intense for me",
"This park is really clean and tidy",
"This balloon from Balloon Stall 1 is really good value",
};
auto alg = Crypt::CreateSHA1();
for (auto s : input)
@@ -91,9 +93,11 @@ TEST_F(CryptTests, SHA1_Many)
auto alg = Crypt::CreateSHA1();
// First digest
std::string inputA[] = { "Merry-go-round 2 looks too intense for me",
"This park is really clean and tidy",
"This balloon from Balloon Stall 1 is really good value" };
std::string inputA[] = {
"Merry-go-round 2 looks too intense for me",
"This park is really clean and tidy",
"This balloon from Balloon Stall 1 is really good value",
};
for (auto s : inputA)
{
alg->Update(s.data(), s.size());