-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: apply fixes from
pre-commit run --all
Some tests get manual formatting and local `clang-format off` to work around exercism/cpp-test-runner#73
- Loading branch information
Showing
388 changed files
with
4,230 additions
and
5,187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
// ERROR: FILE CORRUPTED. Please supply valid C++ Code. | ||
|
||
hp1,üapöhp2ö%Äcountöiöma1,öhp2ö%Älawöhp3öö/önextöstepö%Ädacöiöml1ö%Älawö7ö%Ädacöiömb1ö%Ärandomöö%Äscrö9sö%Äsirö9sö%Äxctöhr1ö%Äaddöiömx1ö%Ädacöiömx1ö%Äswapö%Äaddöiömy1ö%Ädacöiömy1ö%Ärandomö%Äscrö9sö%Äsirö9sö%Äxctöhr2ö%Ädacöiömdyö%Ädioöiömdxö%Äsetupö.hpt,3ö%Älacöranö%Ädacöiömth | ||
hp1, üapöhp2ö % Äcountöiöma1, | ||
öhp2ö % Älawöhp3öö / önextöstepö % Ädacöiöml1ö % Älawö7ö % Ädacöiömb1ö % | ||
Ärandomöö % Äscrö9sö % Äsirö9sö % Äxctöhr1ö % Äaddöiömx1ö % | ||
Ädacöiömx1ö % Äswapö % Äaddöiömy1ö % Ädacöiömy1ö % Ärandomö % Äscrö9sö % | ||
Äsirö9sö % Äxctöhr2ö % Ädacöiömdyö % Ädioöiömdxö % Äsetupö.hpt, | ||
3ö % Älacöranö % Ädacöiömth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
#pragma once | ||
|
||
#include <vector> | ||
#include <string> | ||
#include <vector> | ||
|
||
namespace lasagna_master { | ||
|
||
struct amount { int noodles; double sauce; }; | ||
struct amount { | ||
int noodles; | ||
double sauce; | ||
}; | ||
|
||
int preparationTime(const std::vector<std::string>& layers, int prepTime = 2); | ||
amount quantities(const std::vector<std::string>& layers); | ||
void addSecretIngredient(std::vector<std::string>& myList, const std::vector<std::string>& friendsList); | ||
void addSecretIngredient(std::vector<std::string>& myList, const std::string& secretIngredient); | ||
std::vector<double> scaleRecipe(const std::vector<double>& quantities, int portions); | ||
void addSecretIngredient(std::vector<std::string>& myList, | ||
const std::vector<std::string>& friendsList); | ||
void addSecretIngredient(std::vector<std::string>& myList, | ||
const std::string& secretIngredient); | ||
std::vector<double> scaleRecipe(const std::vector<double>& quantities, | ||
int portions); | ||
|
||
} // namespace lasagna_master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
#include "lasagna_master.h" | ||
|
||
namespace lasagna_master { | ||
|
||
|
||
} // namespace lasagna_master | ||
namespace lasagna_master {} // namespace lasagna_master |
Oops, something went wrong.