Unit tests for SmartRest

Dependencies:   C027 SmartRest mbed

Revision:
0:789029e49ea1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/values/FloatValueTest.h	Mon Mar 24 10:12:45 2014 +0000
@@ -0,0 +1,22 @@
+#ifndef FLOATVALUETEST_H
+#define FLOATVALUETEST_H
+
+#include <stddef.h>
+#include <stdint.h>
+#include "FloatValue.h"
+#include "../mock/BufferedDataSink.h"
+
+class FloatValueTest
+{
+public:
+    FloatValueTest();
+
+    void test();
+protected:
+    void testValue(double number, uint8_t digits, const char *expected);
+
+private:
+    BufferedDataSink sink;
+};
+
+#endif