PER Firmware
Loading...
Searching...
No Matches
dearunits_test_shim.h
Go to the documentation of this file.
1
8#ifndef DEARUNITS_TEST_SHIM_H
9#define DEARUNITS_TEST_SHIM_H
10
11#include <stdbool.h>
12
13float du_test_meters_from_feet(float x);
14float du_test_feet_from_meters(float x);
17float du_test_velocity(float a, float b);
18float du_test_distance(float a, float b);
19float du_test_ratio(float a, float b);
20float du_test_scale(float a, float b);
21float du_test_scale_left(float a, float b);
22float du_test_scale_centimeters(float a, float b);
23float du_test_divide_scalar(float a, float b);
24float du_test_frequency(float x);
25float du_test_period(float x);
26float du_test_square(float x);
27float du_test_sqrt(float x);
28float du_test_force_constructor(float mass, float length, float time);
29float du_test_add(float a, float b);
30float du_test_subtract(float a, float b);
31float du_test_min(float a, float b);
32float du_test_max(float a, float b);
33float du_test_negate(float x);
34float du_test_abs(float x);
35float du_test_clamp(float x, float lo, float hi);
36bool du_test_lt(float a, float b);
37bool du_test_gt(float a, float b);
38bool du_test_le(float a, float b);
39bool du_test_ge(float a, float b);
40bool du_test_nearly_equal(float a, float b, float tol);
41
42#endif // DEARUNITS_TEST_SHIM_H
float du_test_ratio(float a, float b)
Definition dearunits_test_shim.c:55
bool du_test_lt(float a, float b)
Definition dearunits_test_shim.c:172
float du_test_scale_centimeters(float a, float b)
Definition dearunits_test_shim.c:75
bool du_test_le(float a, float b)
Definition dearunits_test_shim.c:186
float du_test_velocity(float a, float b)
Definition dearunits_test_shim.c:39
bool du_test_nearly_equal(float a, float b, float tol)
Definition dearunits_test_shim.c:200
float du_test_subtract(float a, float b)
Definition dearunits_test_shim.c:131
float du_test_divide_scalar(float a, float b)
Definition dearunits_test_shim.c:81
float du_test_min(float a, float b)
Definition dearunits_test_shim.c:138
float du_test_period(float x)
Definition dearunits_test_shim.c:94
float du_test_feet_from_meters(float x)
Definition dearunits_test_shim.c:21
bool du_test_ge(float a, float b)
Definition dearunits_test_shim.c:193
float du_test_scale(float a, float b)
Definition dearunits_test_shim.c:63
float du_test_sqrt(float x)
Definition dearunits_test_shim.c:108
float du_test_frequency(float x)
Definition dearunits_test_shim.c:87
float du_test_meters_from_feet(float x)
Definition dearunits_test_shim.c:14
bool du_test_gt(float a, float b)
Definition dearunits_test_shim.c:179
float du_test_abs(float x)
Definition dearunits_test_shim.c:158
float du_test_clamp(float x, float lo, float hi)
Definition dearunits_test_shim.c:164
float du_test_distance(float a, float b)
Definition dearunits_test_shim.c:47
float du_test_square(float x)
Definition dearunits_test_shim.c:101
float du_test_negate(float x)
Definition dearunits_test_shim.c:152
float du_test_max(float a, float b)
Definition dearunits_test_shim.c:145
float du_test_scale_left(float a, float b)
Definition dearunits_test_shim.c:69
float du_test_fahrenheit_from_celsius(float x)
Definition dearunits_test_shim.c:33
float du_test_add(float a, float b)
Definition dearunits_test_shim.c:124
float du_test_celsius_from_fahrenheit(float x)
Definition dearunits_test_shim.c:27
float du_test_force_constructor(float mass, float length, float time)
Definition dearunits_test_shim.c:115