-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtest_sample_info.yaml
42 lines (42 loc) · 1 KB
/
test_sample_info.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
tests:
- description: measurement test
sample:
id: TEST:1
total particulate carbon: 5
alt: 2m
lat_lon: 68.3534 19.0472
# this is what is expected in the repaired blob
output:
alt:
has_value: 2.0
has_unit: meter
has_raw_value: 2m
must_pass: false
expected_failures:
missing-core: ">0"
- description: correct enumeration
sample:
id: TEST:enum
rel_to_oxygen: obligate anaerobe
expected_failures:
controlled-vocabulary: "0"
- description: incorrect enumeration
sample:
id: TEST:enum
rel_to_oxygen: blah blah
expected_failures:
controlled-vocabulary: ">0"
- description: another test
sample:
id: TEST:2
total particulate carbon: 7
depth: 8cm
lat_lon: 37.931388399999996 -122.0239394
must_pass: false
expected_failures: {}
- description: capitalization test
sample:
id: TEST:captest1
text: bill clinton
output:
text: Bill Clinton