#include "./complex_reset.h" #include "./../../helpers.h" void test_complex_reset_fp32() { BGC_FP32_Complex vector; print_testing_name("bgc_fp32_complex_reset"); bgc_fp32_complex_reset(&vector); if (vector.real != 0.0f || vector.imaginary != 0.0f) { print_testing_failed(); return; } print_testing_success(); } void test_complex_reset_fp64() { BGC_FP64_Complex vector; print_testing_name("bgc_fp64_complex_reset"); bgc_fp64_complex_reset(&vector); if (vector.real != 0.0 || vector.imaginary != 0.0) { print_testing_failed(); return; } print_testing_success(); } void test_complex_reset() { test_complex_reset_fp32(); test_complex_reset_fp64(); }