From 735c78d3ecb695dd16cb37879880f522c4b29c72 Mon Sep 17 00:00:00 2001 From: Johan Fleury Date: Mon, 8 Oct 2018 12:58:12 -0400 Subject: Import upstream version 1.7.0 --- tests/files/success/test_type_float.yaml | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/files/success/test_type_float.yaml (limited to 'tests/files/success/test_type_float.yaml') diff --git a/tests/files/success/test_type_float.yaml b/tests/files/success/test_type_float.yaml new file mode 100644 index 0000000..ffd1bba --- /dev/null +++ b/tests/files/success/test_type_float.yaml @@ -0,0 +1,43 @@ +--- +name: float1 +desc: Test simples float value +data: 3.14159 +schema: + type: float +--- +name: float2 +desc: Test float value inside list +data: + - 1 + - 3.14159 +schema: + type: seq + sequence: + - type: float +--- +name: float3 +desc: Test float value in mapping +data: + foo: 3.14159 + bar: 1 +schema: + type: map + mapping: + foo: + type: float + bar: + type: float +--- +name: float4 +desc: Test float inside nested map & seq +data: + foo: + - 1 + - 3.14159 +schema: + type: map + mapping: + foo: + type: seq + sequence: + - type: float -- cgit v1.2.3