From 9cd2d34b83d51e4aa7d4d0c85e8500b2bfe63337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 27 Jan 2002 14:43:53 +0000 Subject: [PATCH] moved to ../c++ git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@911 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- tests/testcpp.cc | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 tests/testcpp.cc diff --git a/tests/testcpp.cc b/tests/testcpp.cc deleted file mode 100644 index 2ca82b932..000000000 --- a/tests/testcpp.cc +++ /dev/null @@ -1,26 +0,0 @@ - -/* - * Hamlib sample C++ program - */ - -#include -#include - -int main(int argc, char* argv[]) -{ - Rig myRig = Rig(RIG_MODEL_DUMMY); - - try { - myRig.open(); - myRig.setFreq(MHz(144)); - cout << myRig.getLevelI(RIG_LEVEL_STRENGTH) << "dB" << endl; - cout << "Modes for freq 14.332: " << myRig.RngRxModes(MHz(14.332)) << endl; - myRig.close(); - } - catch (const RigException &Ex) { - Ex.print(); - return 1; - } - - return 0; -}