Skip to content
Snippets Groups Projects
Commit 34c57c34 authored by Sebastian Ohlmann's avatar Sebastian Ohlmann
Browse files

Merge branch 'feature' into 'master'

Feature

See merge request !2
parents 277e64dc bf5abf5e
No related branches found
No related tags found
1 merge request!2Feature
Pipeline #113212 passed
# Description
Describe your changes
# Checklist
[ ] Tests pass
[ ] I checked the coding guidelines
......@@ -2,6 +2,7 @@
using namespace std;
int add(int a,int b){return a+b;}
int add2(int a,int b){return a+b+2;}
int sub(int a,int b){return a-b;}
int mul(int a,int b){return a*b;}
int dv(int a,int b){
......
......@@ -4,6 +4,9 @@
TEST(FuncsTest,Add){
EXPECT_EQ(6,add(4,2));
};
TEST(FuncsTest,Add2){
EXPECT_EQ(8,add2(4,2));
};
TEST(FuncsTest,Sub){
EXPECT_EQ(2,sub(4,2));
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment