mraa: rename from maa to mraa
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
12
tests/mraa_test.cxx
Normal file
12
tests/mraa_test.cxx
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <mraa.h>
|
||||
#include "gtest/gtest.h"
|
||||
#include "version.h"
|
||||
|
||||
/* Careful, this test will only attempt to check the returned version is valid,
|
||||
* it doesn't try to check the version is a release one.
|
||||
*/
|
||||
TEST (basic, mraa_get_version) {
|
||||
char bar[64];
|
||||
strcpy(bar, mraa_get_version());
|
||||
ASSERT_STREQ(mraa_get_version(), gVERSION);
|
||||
}
|
||||
Reference in New Issue
Block a user