34 lines
468 B
C++
34 lines
468 B
C++
/*#ifndef TESTCMD_H
|
|
#define TESTCMD_H
|
|
|
|
#include <QObject>
|
|
#include "cmdwrd.h"
|
|
|
|
class testcmdwrd:public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private slots:
|
|
|
|
void testConstructor();
|
|
void testaddrRTFind();
|
|
void testKFind();
|
|
void testsubAddrFind();
|
|
void testnumDWFind();
|
|
|
|
|
|
private:
|
|
|
|
const uint8_t addrRT0 = 0;
|
|
const uint8_t K0 = 0;
|
|
const uint8_t subAddr0 = 0;
|
|
const uint8_t numDW0 = 0;
|
|
|
|
private:
|
|
|
|
CommandWord mCmdWrd;
|
|
};
|
|
|
|
#endif // TESTCMD_H
|
|
*/
|