Battery-Emulator/test/test_lib.cpp
Brett Christensen cb935e4cf8 Squashed commit of the following:
commit a81133c6c0
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Tue Feb 6 07:59:22 2024 +0100

    Update timer_test.cpp

commit aca520c506
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Tue Feb 6 07:55:00 2024 +0100

    Added a test, new structure

commit 1d09dacccb
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 23:36:25 2024 +0100

    Event setting

commit 5edfd6cdec
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 23:16:46 2024 +0100

    Restore to working order, success!

commit 7f6eddca76
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 23:15:54 2024 +0100

    Testing for failed unit tests

commit dcd8dcade9
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 23:13:25 2024 +0100

    Name change

commit f1bff798c4
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 23:11:57 2024 +0100

    Moved test files

commit 933d11f932
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 23:03:34 2024 +0100

    More UT

commit 92fd0ac31b
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 23:01:44 2024 +0100

    Update unit-tests.yml

commit 5785eeb111
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 22:57:35 2024 +0100

    Update unit-tests.yml

commit f4fa1115c1
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 22:55:27 2024 +0100

    UT debugging

commit 396f41ed77
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 22:53:10 2024 +0100

    Moved test folder

    previous location caused issues with building the main SW

commit da8421dcff
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 22:42:13 2024 +0100

    Unit test attempt

commit 44c02745bf
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 14:10:12 2024 +0100

    Improvements and unit tests

commit 4d95fcfc31
Author: Cabooman <81711263+Cabooman@users.noreply.github.com>
Date:   Mon Feb 5 01:19:37 2024 +0100

    First commit
2024-02-06 20:06:07 +11:00

6 lines
94 B
C++

#include "test_lib.h"
#include <cstdint>
MySerial Serial;
unsigned long testlib_millis = 0;