mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 04:22:18 +02:00
Added a test of one number in a hash table
This commit is contained in:
@ -37,6 +37,13 @@ namespace JsonGeneratorTests
|
||||
jsonIs("{\"key1\":\"value1\",\"key2\":\"value2\"}");
|
||||
}
|
||||
|
||||
TEST_METHOD(OneNumber)
|
||||
{
|
||||
add("pi", 3.14);
|
||||
|
||||
jsonIs("{\"pi\":3.14}");
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
template<typename T>
|
||||
|
Reference in New Issue
Block a user