Skip to content

Commit

Permalink
Using auto
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 authored Jan 3, 2024
1 parent c79b984 commit a675347
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ namespace unit_tests {
class test_class_(test) {
public:
void test_method_(test_case_succeed) {
int i = 24;
auto i = 24;
assert::are_equal(24, i);
}

void test_method_(test_case_failed) {
int i = 24;
auto i = 24;
assert::are_equal(23, i);
}
};
Expand Down

0 comments on commit a675347

Please sign in to comment.