forked from PAWPAW-Mirror/lib_xua
Split functionality into test code in pure C and helper code in XC
This commit is contained in:
12
tests/xua_unit_tests/src/test_hid.c
Normal file
12
tests/xua_unit_tests/src/test_hid.c
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright 2021 XMOS LIMITED.
|
||||
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
|
||||
#include <stddef.h>
|
||||
|
||||
#include "xua_unit_tests.h"
|
||||
#include "xua_hid_report_descriptor.h"
|
||||
|
||||
void test_uninitialised_hidGetReportDescriptor()
|
||||
{
|
||||
unsigned char* reportDescPtr = hidGetReportDescriptor();
|
||||
TEST_ASSERT_NULL( reportDescPtr );
|
||||
}
|
||||
Reference in New Issue
Block a user