v2
This commit is contained in:
33
testcmd.h
Normal file
33
testcmd.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*#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
|
||||
*/
|
Reference in New Issue
Block a user