mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-09 00:13:41 +00:00
remove unused test code, adjust release workflow paths
This commit is contained in:
parent
ba7ec1914d
commit
fa7d789935
5 changed files with 12 additions and 47 deletions
Binary file not shown.
|
|
@ -6,7 +6,7 @@ CONFIG -= app_bundle
|
|||
|
||||
TEMPLATE = app
|
||||
|
||||
SOURCES += tst_unittests.cpp \
|
||||
SOURCES += \
|
||||
../LibreVNA-GUI/Util/util.cpp \
|
||||
main.cpp \
|
||||
utiltests.cpp
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
//#include <QtTest>
|
||||
|
||||
//// add necessary includes here
|
||||
|
||||
//class UnitTests : public QObject
|
||||
//{
|
||||
// Q_OBJECT
|
||||
|
||||
//public:
|
||||
// UnitTests();
|
||||
// ~UnitTests();
|
||||
|
||||
//private slots:
|
||||
// void test_case1();
|
||||
|
||||
//};
|
||||
|
||||
//UnitTests::UnitTests()
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
//UnitTests::~UnitTests()
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
//void UnitTests::test_case1()
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
//QTEST_MAIN(UnitTests)
|
||||
|
||||
//#include "tst_unittests.moc"
|
||||
|
|
@ -59,7 +59,7 @@ void UtilTests::NoisyCircleApproximation()
|
|||
points.push_back(center + offset + noise);
|
||||
}
|
||||
auto circCenter = Util::findCenterOfCircle(points);
|
||||
constexpr double maxDelta = 0.0;
|
||||
constexpr double maxDelta = 0.1;
|
||||
QVERIFY(abs(center.real() - circCenter.real()) <= maxDelta);
|
||||
QVERIFY(abs(center.imag() - circCenter.imag()) <= maxDelta);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue