SAF
Loading...
Searching...
No Matches
test__sofa_reader_module.c File Reference

Unit tests for the SAF sofa reader module. More...

#include "saf_test.h"

Go to the source code of this file.

Macros

#define SAF_TEST_SOFA_FILE_PATH   "/Users/mccorml1/Documents/FABIAN_HRTF_DATABASE_V1/1 HRIRs/SOFA/FABIAN_HRIR_measured_HATO_20.sofa"
 

Functions

void test__saf_sofa_open (void)
 Testing the SAF SOFA reader that uses the netcdf library.
 
void test__mysofa_load (void)
 Testing the dependency free mysofa SOFA reader.
 
void test__sofa_comparison (void)
 Testing that the two SOFA readers produce the same results.
 

Detailed Description

Unit tests for the SAF sofa reader module.

Author
Leo McCormack
Date
27.04.2020
License
ISC

Definition in file test__sofa_reader_module.c.

Macro Definition Documentation

◆ SAF_TEST_SOFA_FILE_PATH

#define SAF_TEST_SOFA_FILE_PATH   "/Users/mccorml1/Documents/FABIAN_HRTF_DATABASE_V1/1 HRIRs/SOFA/FABIAN_HRIR_measured_HATO_20.sofa"

Definition at line 28 of file test__sofa_reader_module.c.

Function Documentation

◆ test__mysofa_load()

void test__mysofa_load ( void )

Testing the dependency free mysofa SOFA reader.

Definition at line 43 of file test__sofa_reader_module.c.

◆ test__saf_sofa_open()

void test__saf_sofa_open ( void )

Testing the SAF SOFA reader that uses the netcdf library.

Definition at line 33 of file test__sofa_reader_module.c.

◆ test__sofa_comparison()

void test__sofa_comparison ( void )

Testing that the two SOFA readers produce the same results.

Definition at line 52 of file test__sofa_reader_module.c.