Private
Public Access
2
0
Files
mraa/tests/mraa_test.cxx
Thomas Ingleby 6853997a92 mraa: rename from maa to mraa
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-24 17:24:54 +01:00

13 lines
344 B
C++

#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);
}