#include "arithmetics.hpp"
#include "gtest/gtest.h"

TEST(AddTest, PerformsAdditionOnTwoIntegers) {
  EXPECT_EQ(2, arithmetics::add(1, 1));
  EXPECT_EQ(2, arithmetics::add_buggy(1, 1));
}

int main(int argc, char **argv) {
  ::testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}
#include "arithmetics.hpp"
#include "gtest/gtest.h"

TEST(TestAdd, PerformsAdditionOnTwoIntegers) {
  EXPECT_EQ(2, arithmetics::add(1, 1));
}

TEST(TestAdd, PerformsAdditionOnTwoIntegers_2) {
  EXPECT_EQ(2, arithmetics::add_buggy(1, 1));
}

int main(int argc, char **argv) {
  ::testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}
Split tests into 2 distict tests
Split tests into 2 distict tests
