Skip to content

Commit ba1ba02

Browse files
committed
Refactor member variable naming and initialization.
Renamed `kCount` to `kCount_` to align with naming conventions. Added default initialization for `input_data_` and updated `SetUp()` accordingly for consistency and clarity.
1 parent dc6d8ba commit ba1ba02

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tasks/example/tests/performance/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
namespace nesterov_a_test_task {
2020

2121
class ExampleRunPerfTest : public ppc::util::BaseRunPerfTests<InType, OutType> {
22-
const std::vector<int>::size_type kCount = 111;
23-
InType input_data_;
22+
const std::vector<int>::size_type kCount_ = 111;
23+
InType input_data_{};
2424

25-
void SetUp() override { input_data_ = kCount; }
25+
void SetUp() override { input_data_ = kCount_; }
2626

2727
bool CheckTestOutputData(OutType& output_data) final { return input_data_ == output_data; }
2828

0 commit comments

Comments
 (0)