mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-04 02:56:40 +08:00
use better test function names to avoid conflict
This commit is contained in:
@@ -355,7 +355,7 @@ std::vector<float> predict_OLS_regressor(std::vector<std::vector<T>> const &X,
|
||||
}
|
||||
|
||||
/** Self test checks */
|
||||
void test() {
|
||||
void ols_test() {
|
||||
int F = 3, N = 5;
|
||||
|
||||
/* test function = x^2 -5 */
|
||||
@@ -408,7 +408,7 @@ void test() {
|
||||
* main function
|
||||
*/
|
||||
int main() {
|
||||
test();
|
||||
ols_test();
|
||||
|
||||
size_t N, F;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user