mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Added custom implementation of strtol() (issue #465)
`char` is now treated as an integral type (issue #337, #370)
This commit is contained in:
@@ -54,6 +54,14 @@ struct Polyfills_ParseFloat_Double_Tests : testing::Test {
|
||||
};
|
||||
#define TEST_DOUBLE(X) TEST_F(Polyfills_ParseFloat_Double_Tests, X)
|
||||
|
||||
TEST_DOUBLE(Null) {
|
||||
check(NULL, 0);
|
||||
}
|
||||
|
||||
TEST_FLOAT(Null) {
|
||||
check(NULL, 0);
|
||||
}
|
||||
|
||||
TEST_DOUBLE(Short_NoExponent) {
|
||||
check("3.14", 3.14);
|
||||
check("-3.14", -3.14);
|
||||
|
||||
Reference in New Issue
Block a user