]> sigrok.org Git - pulseview.git/blobdiff - test/test.cpp
CMakeLists.txt, test/CMakeLists.txt: MinGW linking fix.
[pulseview.git] / test / test.cpp
index acb3c963dcfb8a1488440c1f7165fe2f07a6a81a..04c99819aa0d6691e917d43d11d0de10a829612c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the PulseView project.
  *
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
 
 #define BOOST_TEST_MAIN
 #include <boost/test/unit_test.hpp>
-
-#include "../logicdatasnapshot.h"
-
-BOOST_AUTO_TEST_CASE(LogicDataSnapshotTest)
-{
-       // Create an empty LogicDataSnapshot object
-       sr_datafeed_logic logic;
-       logic.length = 0;
-       logic.unitsize = 1;
-       logic.data = NULL;
-
-       LogicDataSnapshot s(logic);
-
-       BOOST_CHECK(s.get_sample_count() == 0);
-}