Модульные тесты для арифметических операций с векторами и комплексными числами
This commit is contained in:
parent
2e902bc040
commit
f06b35ae34
14 changed files with 1317 additions and 0 deletions
45
basic-geometry-test/tests/complex/complex_arithmetics.h
Normal file
45
basic-geometry-test/tests/complex/complex_arithmetics.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
#ifndef _TEST_COMPLEX_ARITHMETICS_H_
|
||||
#define _TEST_COMPLEX_ARITHMETICS_H_
|
||||
|
||||
// ==================== Add ===================== //
|
||||
|
||||
void test_complex_add_fp32();
|
||||
|
||||
void test_complex_add_scaled_fp32();
|
||||
|
||||
void test_complex_add_fp64();
|
||||
|
||||
void test_complex_add_scaled_fp64();
|
||||
|
||||
void test_complex_add();
|
||||
|
||||
// ================== Subtract ================== //
|
||||
|
||||
void test_complex_subtract_fp32();
|
||||
|
||||
void test_complex_subtract_scaled_fp32();
|
||||
|
||||
void test_complex_subtract_fp64();
|
||||
|
||||
void test_complex_subtract_scaled_fp64();
|
||||
|
||||
void test_complex_subtract();
|
||||
|
||||
// ================== Multiply ================== //
|
||||
|
||||
void test_complex_multiply_fp32();
|
||||
|
||||
void test_complex_multiply_fp64();
|
||||
|
||||
void test_complex_multiply();
|
||||
|
||||
// =================== Divide =================== //
|
||||
|
||||
void test_complex_divide_fp32();
|
||||
|
||||
void test_complex_divide_fp64();
|
||||
|
||||
void test_complex_divide();
|
||||
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue