diff options
author | Johan Fleury <jfleury@arcaik.net> | 2018-10-08 12:58:12 -0400 |
---|---|---|
committer | Johan Fleury <jfleury@arcaik.net> | 2018-10-08 12:58:12 -0400 |
commit | 735c78d3ecb695dd16cb37879880f522c4b29c72 (patch) | |
tree | 8bfb2ecbd0f03730efa1540cc65d8490b67e8ddd /tests/files/success/test_type_float.yaml |
Import upstream version 1.7.0
Diffstat (limited to 'tests/files/success/test_type_float.yaml')
-rw-r--r-- | tests/files/success/test_type_float.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
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 |