-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separated tests for ComplexFunction out of Test_Surface (#30)
- Loading branch information
Showing
6 changed files
with
108 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* File: Test_ComplexFunction.cpp | ||
* Author: lene | ||
* | ||
* Created on March 28, 2014, 7:54 PM | ||
*/ | ||
|
||
#include "Test_ComplexFunction.h" | ||
|
||
#include "Surface/ComplexFunction.h" | ||
|
||
void Test_ComplexFunction::t_z2() { | ||
performSurfaceTest<z2, 0>("z2"); | ||
} | ||
void Test_ComplexFunction::t_z3() { | ||
performSurfaceTest<z3, 0>("z3"); | ||
} | ||
void Test_ComplexFunction::t_zA() { | ||
performSurfaceTest<zA, 1>("zA"); | ||
} | ||
void Test_ComplexFunction::t_ez() { | ||
performSurfaceTest<ez, 1>("e^a*z"); | ||
} | ||
void Test_ComplexFunction::t_emz2() { | ||
performSurfaceTest<emz2, 1>("emz2"); | ||
} | ||
void Test_ComplexFunction::t_zm1() { | ||
performSurfaceTest<zm1, 0>("zm1"); | ||
} | ||
void Test_ComplexFunction::t_zm2() { | ||
performSurfaceTest<zm2, 0>("zm2"); | ||
} | ||
void Test_ComplexFunction::t_sqrtz() { | ||
performSurfaceTest<sqrtz, 0>("sqrtz"); | ||
} | ||
void Test_ComplexFunction::t_lnz() { | ||
performSurfaceTest<lnz, 0>("lnz"); | ||
} | ||
void Test_ComplexFunction::t_sinz() { | ||
performSurfaceTest<sinz, 0>("sinz"); | ||
} | ||
void Test_ComplexFunction::t_cosz() { | ||
performSurfaceTest<cosz, 0>("cosz"); | ||
} | ||
void Test_ComplexFunction::t_sinhz() { | ||
performSurfaceTest<sinhz, 0>("sinhz"); | ||
} | ||
void Test_ComplexFunction::t_coshz() { | ||
performSurfaceTest<coshz, 0>("coshz"); | ||
} | ||
void Test_ComplexFunction::t_tanz() { | ||
performSurfaceTest<tanz, 0>("tanz"); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* File: Test_ComplexFunction.h | ||
* Author: lene | ||
* | ||
* Created on March 28, 2014, 7:54 PM | ||
*/ | ||
|
||
#ifndef TEST_COMPLEXFUNCTION_H | ||
#define TEST_COMPLEXFUNCTION_H | ||
|
||
#include "Test_Surface.h" | ||
|
||
class Test_ComplexFunction: public Test_Surface { | ||
|
||
Q_OBJECT | ||
|
||
private slots: | ||
void t_z2(); | ||
void t_z3(); | ||
void t_zA(); | ||
void t_ez(); | ||
void t_emz2(); | ||
void t_zm1(); | ||
void t_zm2(); | ||
void t_sqrtz(); | ||
void t_lnz(); | ||
void t_sinz(); | ||
void t_cosz(); | ||
void t_sinhz(); | ||
void t_coshz(); | ||
void t_tanz(); | ||
|
||
}; | ||
|
||
#endif /* TEST_COMPLEXFUNCTION_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters