Skip to content

Commit 78be4d1

Browse files
committed
[test] Agregado caso de prueba para acos_t
1 parent 2233908 commit 78be4d1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

FunTras/test/imp_test.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ void tan_t_test(){
5555
void asin_t_test(){
5656
cout << funtras::asin_t(0.5) << endl;
5757
cout << funtras::asin_t(-0.3) << endl;
58+
cout << "--- "<< 2*funtras::asin_t(0.9) << endl;
59+
}
60+
61+
void acos_t_test(){
62+
cout << funtras::acos_t(0.5) << endl;
63+
cout << funtras::acos_t(-0.3) << endl;
5864
}
5965

6066
void atan_t_test(){
@@ -76,6 +82,11 @@ void log_t_test(){
7682
cout << funtras::log_t(50,3) << endl;
7783
cout << funtras::log_t(27,7) << endl;
7884
}
85+
86+
void pi_test(){
87+
cout << "PI = "<< funtras::pi_t() << endl;
88+
}
89+
7990
int main(int argc, char const *argv[])
8091
{
8192
power_test();
@@ -93,5 +104,7 @@ int main(int argc, char const *argv[])
93104
sqrt_t_test();
94105
root_t_test();
95106
log_t_test();
107+
pi_test();
108+
acos_t_test();
96109
return 0;
97110
}

0 commit comments

Comments
 (0)