oop_c++
TEST_cases(Question2_1, First) {
// static Employee *SI[10];
Employee e[10],obj,**t;
for(int k=0;k<>
e[k].setSalary(1000+100*k);
}
t=obj.Temporary(e);
double result=obj.print(t,e,5);
ASSERT_EQ(1611,int(result));
}
TEST(Question2_2, second) {
// static Employee *SI[10];
Employee e[10],obj,**t;
for(int k=0;k<>
e[k].setSalary(1000+100*k);
}
t=obj.Temporary(e);
double result=obj.print(t,e,5);
ASSERT_EQ(1640,int(result));
}
Double print (Employee**, Employee [], int)
Extracted text: 1. Generic code for N number of Employees (bon 2. Marks Distribution of the functions. Employee (Employee&) Void setter(double) Employee**Temporary (Employee [1) Friend double Calculate (Employee**, Employee (1, int) Double print (Employee*, Employee [],