#\#CIF_2.0
##############################################################################
#                                                                            #
#       TEST DICTIONARY USED TO CHECK THE HANDLING OF DEFINITIONS WITH       #
#     THAT CONTAIN THE _description_example.case ATTRIBUTE WITH SU VALUES    #
#                                                                            #
##############################################################################
data_TEST_EXAMPLE_CASE_WITH_SU_DIC
_dictionary.title            TEST_EXAMPLE_CASE_WITH_SU_DIC
_dictionary.class            Reference
_dictionary.version          1.0.0
_dictionary.date             2021-10-15
_dictionary.uri              https://www.fake.org/test_example_case_with_su.dic
_dictionary.ddl_conformance  4.2.0
_dictionary.namespace        SoftwareTest
_description.text
;
 This dictionary contains definitions with the '_description_example.case'
 attribute. Some of the attribute values incorrectly have standard uncertainty
 (SU) as part of their values.
;
loop_
_dictionary_audit.version
_dictionary_audit.date
_dictionary_audit.revision
1.0.0 2021-10-15 'Initial release of the dictionary.'

save_TEST_EXAMPLE_CASE_WITH_SU_HEAD

_definition.id               TEST_EXAMPLE_CASE_WITH_SU_HEAD
_definition.scope            Category
_definition.class            Head
_definition.update           2021-10-15
_description.text
;
 The HEAD category of the dictionary.
;
_name.category_id            TEST_EXAMPLE_CASE_WITH_SU_DIC
_name.object_id              TEST_EXAMPLE_CASE_WITH_SU_HEAD

save_

save_VALID_EXAMPLE_WITH_SU

_definition.id               VALID_EXAMPLE_WITH_SU
_definition.scope            Category
_definition.class            Set
_definition.update           2021-10-15
_description.text
;
 Definitions of data items in the VALID_EXAMPLE_WITH_SU
 category correctly contain standard uncertainty (SU) as
 part of the '_description_example.case' attribute values.
;
_name.category_id            TEST_EXAMPLE_CASE_WITH_SU_HEAD
_name.object_id              VALID_EXAMPLE_WITH_SU

save_

save_valid_example_with_su.measurand_item

_definition.id               '_valid_example_with_su.measurand_item'
_definition.scope            Item
_definition.class            Datum
_definition.update           2021-10-15
_description.text
;
 Data item definition that correctly contain standard uncertainty (SU)
 as part of the '_description_example.case' attribute values.
;
_name.category_id            valid_example_with_su
_name.object_id              measurand_item
_type.purpose                Measurand
_type.source                 Assigned
_type.container              Single
_type.contents               Integer
_units.code                  none

loop_
_description_example.case
1
10(1)
50(2)

save_

save_valid_example_with_su.measurand_item_su

_definition.id               '_valid_example_with_su.measurand_item_su'
_definition.scope            Item
_definition.class            Datum
_definition.update           2021-10-15
_description.text
;
 Standard uncertainty of _valid_example_with_su.measurand_item.
;
_name.category_id            valid_example_with_su
_name.object_id              measurand_item_su
_name.linked_item_id         '_valid_example_with_su.measurand_item'
_type.purpose                SU
_type.source                 Assigned
_type.container              Single
_type.contents               Integer
_units.code                  none

save_

save_INVALID_EXAMPLE_WITH_SU

_definition.id               INVALID_EXAMPLE_WITH_SU
_definition.scope            Category
_definition.class            Set
_definition.update           2021-10-15
_description.text
;
 Definitions of data items in the VALID_EXAMPLE_WITH_SU
 category incorrectly contain standard uncertainty (SU) as
 part of the '_description_example.case' attribute values.
;
_name.category_id            TEST_EXAMPLE_CASE_WITH_SU_HEAD
_name.object_id              INVALID_EXAMPLE_WITH_SU

save_

save_invalid_example_with_su.measurand_item

_definition.id               '_invalid_example_with_su.measurand_item'
_definition.scope            Item
_definition.class            Datum
_definition.update           2021-10-15
_description.text
;
 Data item definition that incorrectly contain standard uncertainty (SU)
 as part of the '_description_example.case' attribute values.
;
_name.category_id            invalid_example_with_su
_name.object_id              measurand_item
_type.purpose                Number
_type.source                 Assigned
_type.container              Single
_type.contents               Integer
_units.code                  none

loop_
_description_example.case
1
10(1)
50(2)

save_

save_invalid_example_with_su.measurand_item_su

_definition.id               '_invalid_example_with_su.measurand_item_su'
_definition.scope            Item
_definition.class            Datum
_definition.update           2021-10-15
_description.text
;
 Standard uncertainty of _invalid_example_with_su.measurand_item.
;
_name.category_id            invalid_example_with_su
_name.object_id              measurand_item_su
_name.linked_item_id         '_invalid_example_with_su.measurand_item'
_type.purpose                SU
_type.source                 Assigned
_type.container              Single
_type.contents               Integer
_units.code                  none

save_
