forgot to format this
This commit is contained in:
parent
7fa70b35e4
commit
8a215f4a74
@ -1,16 +1,19 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(SquareRootTest, PositiveNos) {
|
||||
TEST(SquareRootTest, PositiveNos)
|
||||
{
|
||||
ASSERT_EQ(6, 2 * 3);
|
||||
ASSERT_EQ(6, -2 * -3);
|
||||
}
|
||||
|
||||
TEST(SquareRootTest, NegativeNos) {
|
||||
TEST(SquareRootTest, NegativeNos)
|
||||
{
|
||||
ASSERT_EQ(-6, -2 * 3);
|
||||
ASSERT_EQ(-6, 2 * -3);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user