----------------------------------------
-----------Sun Devil Rocketry-----------
-----------Unit Test Results------------
----------------------------------------

----------------------------------------
------------Test Environment------------
----------------------------------------

--General Build Information--
Test Name:        main.c
Test Type:        Unit Test
Build Date:       Oct 10 2026
Build Time:       23:25:50
Run Date:         Oct 10 2026
Run Time:         23:25:50
ISO C?:           1
C Standard:       201710

--GNU C Compiler (GCC) Info--
GCC Version:      13.3.0

--GCOVR Info--
GCOVR Version:    8.6

----------------------------------------
----------------Results-----------------
----------------------------------------


--BEGIN TEST GROUP: Check test environment--

Test Environment: Release build
Actual: TRUE | Expected: TRUE

Test Environment: ISO C standard is C17 or greater
Actual: 201710 | Expected: 201700

Test Environment: Compiler at/above minimum GCC version
Actual: 13 | Expected: 8

Test Environment: Compiler at/below maximum GCC version
Actual: 13 | Expected: 15

Test Environment: Coverage tool at/above minimum GCOVR version
Actual: 8 | Expected: 7

Test Environment: Coverage tool at/below maximum GCOVR version
Actual: 8 | Expected: 8

--TEST GROUP RESULTS:--
Group Passes: 6
Group Fails:  0
--END TEST GROUP: Check test environment--


--BEGIN TEST GROUP: Test main()--

-> BEGIN TEST CASE 0: Normal Case: Initialization Correct

Test that the returned error code equals the expected.
Actual: -1 | Expected: -1

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 1: Normal Case: Inverted Mount Orientation

Test that the returned error code equals the expected.
Actual: -1 | Expected: -1

Test that the saved accelerometer offset selects the expected orientation.
Actual: -1 | Expected: -1

-> END TEST CASE

-> BEGIN TEST CASE 2: Normal Case: Normal Mount Orientation

Test that the returned error code equals the expected.
Actual: -1 | Expected: -1

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 3: Robust Case: Flash Init Fail

Test that the returned error code equals the expected.
Actual: 1 | Expected: 1

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 4: Robust Case: Baro Init Fail

Test that the returned error code equals the expected.
Actual: 2 | Expected: 2

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 5: Robust Case: IMU Init Fail

Test that the returned error code equals the expected.
Actual: 3 | Expected: 3

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 6: Robust Case: Servo Init Fail

Test that the returned error code equals the expected.
Actual: 54 | Expected: 54

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 7: Robust Case: Sensor Init Fail

Test that the returned error code equals the expected.
Actual: 36 | Expected: 36

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 8: Robust Case: Read Preset Fail

Test that the returned error code equals the expected.
Actual: 35 | Expected: 35

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

-> BEGIN TEST CASE 9: Robust Case: Switch Terminal Toggled

Test that the returned error code equals the expected.
Actual: 40 | Expected: 40

Test that the saved accelerometer offset selects the expected orientation.
Actual: 1 | Expected: 1

-> END TEST CASE

--TEST GROUP RESULTS:--
Group Passes: 20
Group Fails:  0
--END TEST GROUP: Test main()--


--BEGIN TEST GROUP: Test debug writer--

Debug writer calls the registered callback once.
Actual: 1 | Expected: 1

--TEST GROUP RESULTS:--
Group Passes: 1
Group Fails:  0
--END TEST GROUP: Test debug writer--

----------------------------------------
-------------Test Complete--------------
----------------------------------------
Passes: 27
Fails:  0
Result: PASS
----------------------------------------
