Add assertion
This commit is contained in:
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
#include <assert.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
double sensorReading = 165500;
|
||||
unsigned short storedValue = sensorReading;
|
||||
|
||||
assert(storedValue == sensorReading);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user