|
3-phase PV router
|
Embedded unit tests for FastDivision. More...
#include <Arduino.h>#include <unity.h>#include "../halt_after_tests.h"#include "FastDivision.h"#include "FastDivision.cpp"
Go to the source code of this file.
Functions | |
| void | loop () |
| void | setUp (void) |
| void | setup () |
| void | tearDown (void) |
| void | test_divmod10_basic (void) |
| void | test_divmod10_large_values (void) |
| void | test_divmod10_with_remainder (void) |
| void | test_divu1 (void) |
| void | test_divu10_basic (void) |
| void | test_divu10_edge_cases (void) |
| void | test_divu10_large_values (void) |
| void | test_divu10_random_values (void) |
| void | test_divu2 (void) |
| void | test_divu4 (void) |
| void | test_divu8 (void) |
Embedded unit tests for FastDivision.
Tests the AVR assembly fast division functions. Must run on Arduino hardware (uses AVR-specific assembly).
Definition in file test_main.cpp.
| void loop | ( | ) |
| void setUp | ( | void | ) |
Definition at line 18 of file test_main.cpp.
| void setup | ( | ) |
Definition at line 167 of file test_main.cpp.
| void tearDown | ( | void | ) |
Definition at line 22 of file test_main.cpp.
| void test_divmod10_basic | ( | void | ) |
Definition at line 65 of file test_main.cpp.


| void test_divmod10_large_values | ( | void | ) |
Definition at line 105 of file test_main.cpp.


| void test_divmod10_with_remainder | ( | void | ) |
Definition at line 83 of file test_main.cpp.


| void test_divu1 | ( | void | ) |
Definition at line 155 of file test_main.cpp.


| void test_divu10_basic | ( | void | ) |
Definition at line 30 of file test_main.cpp.


| void test_divu10_edge_cases | ( | void | ) |
Definition at line 38 of file test_main.cpp.


| void test_divu10_large_values | ( | void | ) |
Definition at line 46 of file test_main.cpp.


| void test_divu10_random_values | ( | void | ) |
Definition at line 53 of file test_main.cpp.


| void test_divu2 | ( | void | ) |
Definition at line 145 of file test_main.cpp.


| void test_divu4 | ( | void | ) |
Definition at line 134 of file test_main.cpp.


| void test_divu8 | ( | void | ) |
Definition at line 123 of file test_main.cpp.

