added write property unit test

This commit is contained in:
skarg
2005-05-23 02:48:39 +00:00
parent ae6157c781
commit 337f38d7fc
3 changed files with 146 additions and 15 deletions
+3 -3
View File
@@ -345,7 +345,7 @@ bool Analog_Output_Write_Property(
#include <string.h>
#include "ctest.h"
void testAnalogInput(Test * pTest)
void testAnalogOutput(Test * pTest)
{
uint8_t apdu[MAX_APDU] = { 0 };
int len = 0;
@@ -378,9 +378,9 @@ int main(void)
Test *pTest;
bool rc;
pTest = ct_create("BACnet Analog Input", NULL);
pTest = ct_create("BACnet Analog Output", NULL);
/* individual tests */
rc = ct_addTestFunction(pTest, testAnalogInput);
rc = ct_addTestFunction(pTest, testAnalogOutput);
assert(rc);
ct_setStream(pTest, stdout);