summaryrefslogtreecommitdiffstats
path: root/tests/inputs/double
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inputs/double')
-rw-r--r--tests/inputs/double/double-negative.json3
-rw-r--r--tests/inputs/double/double.json3
-rw-r--r--tests/inputs/double/double.proto7
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/inputs/double/double-negative.json b/tests/inputs/double/double-negative.json
new file mode 100644
index 0000000..e0776c7
--- /dev/null
+++ b/tests/inputs/double/double-negative.json
@@ -0,0 +1,3 @@
+{
+ "count": -123.45
+}
diff --git a/tests/inputs/double/double.json b/tests/inputs/double/double.json
new file mode 100644
index 0000000..321412e
--- /dev/null
+++ b/tests/inputs/double/double.json
@@ -0,0 +1,3 @@
+{
+ "count": 123.45
+}
diff --git a/tests/inputs/double/double.proto b/tests/inputs/double/double.proto
new file mode 100644
index 0000000..66aea95
--- /dev/null
+++ b/tests/inputs/double/double.proto
@@ -0,0 +1,7 @@
+syntax = "proto3";
+
+package double;
+
+message Test {
+ double count = 1;
+}