container: c++: run linter
This commit is contained in:
@@ -288,16 +288,20 @@ class Random final
|
||||
miles /= 24901;
|
||||
|
||||
// TODO(unassigned): would be nice to have some RNG-related info
|
||||
pt->AddText(std::string{"Fun facts"}
|
||||
.c_str()); // TODO(unassigned): make this small text
|
||||
pt->AddText(std::string{
|
||||
"There are " + std::to_string(is_odd) + " odd numbers and "
|
||||
+ std::to_string(data.y.size() - is_odd) + " even numbers"}
|
||||
.c_str());
|
||||
pt->AddText(std::string{
|
||||
"If the total values generated were miles, you could circle the earth "
|
||||
+ std::to_string(miles) + " times!"}
|
||||
.c_str());
|
||||
pt->AddText(
|
||||
std::string{"Fun facts"}
|
||||
.c_str()); // TODO(unassigned): make this small text
|
||||
pt->AddText(
|
||||
std::string{
|
||||
"There are " + std::to_string(is_odd) + " odd numbers and "
|
||||
+ std::to_string(data.y.size() - is_odd) + " even numbers"}
|
||||
.c_str());
|
||||
pt->AddText(
|
||||
std::string{
|
||||
"If the total values generated were miles, you could circle the "
|
||||
"earth "
|
||||
+ std::to_string(miles) + " times!"}
|
||||
.c_str());
|
||||
pt->Draw();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user