mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-20 01:13:55 +08:00
* export DBC to text edit
* added saveAs & Copy To Clipboard
* cleanup
* cleanup include
* add test case
* rename variable
* fix precision
old-commit-hash: 80b088c332
11 lines
268 B
C++
11 lines
268 B
C++
#define CATCH_CONFIG_RUNNER
|
|
#include "catch2/catch.hpp"
|
|
#include <QCoreApplication>
|
|
|
|
int main(int argc, char **argv) {
|
|
// unit tests for Qt
|
|
QCoreApplication app(argc, argv);
|
|
const int res = Catch::Session().run(argc, argv);
|
|
return (res < 0xff ? res : 0xff);
|
|
}
|