diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-07-09 14:58:50 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-07-09 14:58:50 (GMT) |
commit | ce2c695798a85b30c4aade5d09bf8d32242001ce (patch) | |
tree | c8f16731e6879d9c0a1a18c98a991aebd0adbeba /tools/testfiles/tindicesyes.ddl | |
parent | 93f724cecf85f544088f82bcf03c5d829e908f8a (diff) | |
download | hdf5-ce2c695798a85b30c4aade5d09bf8d32242001ce.zip hdf5-ce2c695798a85b30c4aade5d09bf8d32242001ce.tar.gz hdf5-ce2c695798a85b30c4aade5d09bf8d32242001ce.tar.bz2 |
[svn-r8851] Purpose:
h5dump new tests
Description:
added new tests for the print of array indices (nested objects, several ranks)
Solution:
Platforms tested:
Misc. update:
Diffstat (limited to 'tools/testfiles/tindicesyes.ddl')
-rw-r--r-- | tools/testfiles/tindicesyes.ddl | 212 |
1 files changed, 185 insertions, 27 deletions
diff --git a/tools/testfiles/tindicesyes.ddl b/tools/testfiles/tindicesyes.ddl index e785742..ba6624e 100644 --- a/tools/testfiles/tindicesyes.ddl +++ b/tools/testfiles/tindicesyes.ddl @@ -1,32 +1,190 @@ ############################# -Expected output for 'h5dump -d compact tfilters.h5' +Expected output for 'h5dump taindices.h5' ############################# -HDF5 "tfilters.h5" { -DATASET "compact" { -COMMENT "This is a dataset with compact storage" - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 20, 10 ) / ( 20, 10 ) } - DATA { - (0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - (1,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - (2,0): 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - (3,0): 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, - (4,0): 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - (5,0): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - (6,0): 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, - (7,0): 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - (8,0): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - (9,0): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - (10,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, - (11,0): 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, - (12,0): 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - (13,0): 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, - (14,0): 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, - (15,0): 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, - (16,0): 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, - (17,0): 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, - (18,0): 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, - (19,0): 190, 191, 192, 193, 194, 195, 196, 197, 198, 199 +HDF5 "taindices.h5" { +GROUP "/" { + DATASET "1d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 100 ) / ( 100 ) } + DATA { + (0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, + (19): 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + (35): 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + (51): 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, + (67): 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + (83): 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + (99): 99 + } + } + DATASET "2d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2, 100 ) / ( 2, 100 ) } + DATA { + (0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (0,18): 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + (0,34): 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (0,50): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, + (0,66): 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, + (0,82): 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, + (0,98): 98, 99, + (1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, + (1,13): 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + (1,25): 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, + (1,37): 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, + (1,49): 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, + (1,61): 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, + (1,73): 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, + (1,85): 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, + (1,97): 197, 198, 199 + } + } + DATASET "3d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2, 2, 100 ) / ( 2, 2, 100 ) } + DATA { + (0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + (0,0,18): 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + (0,0,33): 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + (0,0,48): 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, + (0,0,63): 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, + (0,0,78): 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, + (0,0,93): 93, 94, 95, 96, 97, 98, 99, + (0,1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + (0,1,12): 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, + (0,1,24): 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + (0,1,36): 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, + (0,1,48): 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, + (0,1,60): 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, + (0,1,72): 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, + (0,1,84): 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, + (0,1,96): 196, 197, 198, 199, + (1,0,0): 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, + (1,0,12): 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, + (1,0,24): 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, + (1,0,36): 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + (1,0,48): 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, + (1,0,60): 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, + (1,0,72): 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, + (1,0,84): 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + (1,0,96): 296, 297, 298, 299, + (1,1,0): 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, + (1,1,12): 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, + (1,1,24): 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, + (1,1,36): 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, + (1,1,48): 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, + (1,1,60): 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, + (1,1,72): 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, + (1,1,84): 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, + (1,1,96): 396, 397, 398, 399 + } + } + GROUP "g1" { + GROUP "g2" { + GROUP "g3" { + GROUP "g4" { + GROUP "g5" { + GROUP "g6" { + DATASET "1d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 100 ) / ( 100 ) } + DATA { + (0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, + (14): 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + (26): 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + (38): 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (50): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + (62): 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + (74): 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + (86): 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, + (98): 98, 99 + } + } + DATASET "2d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2, 100 ) / ( 2, 100 ) } + DATA { + (0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, + (0,14): 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + (0,25): 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + (0,36): 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, + (0,47): 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + (0,58): 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, + (0,69): 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + (0,80): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + (0,91): 91, 92, 93, 94, 95, 96, 97, 98, 99, + (1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, + (1,9): 109, 110, 111, 112, 113, 114, 115, 116, 117, + (1,18): 118, 119, 120, 121, 122, 123, 124, 125, 126, + (1,27): 127, 128, 129, 130, 131, 132, 133, 134, 135, + (1,36): 136, 137, 138, 139, 140, 141, 142, 143, 144, + (1,45): 145, 146, 147, 148, 149, 150, 151, 152, 153, + (1,54): 154, 155, 156, 157, 158, 159, 160, 161, 162, + (1,63): 163, 164, 165, 166, 167, 168, 169, 170, 171, + (1,72): 172, 173, 174, 175, 176, 177, 178, 179, 180, + (1,81): 181, 182, 183, 184, 185, 186, 187, 188, 189, + (1,90): 190, 191, 192, 193, 194, 195, 196, 197, 198, + (1,99): 199 + } + } + DATASET "3d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2, 2, 100 ) / ( 2, 2, 100 ) } + DATA { + (0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, + (0,0,13): 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + (0,0,24): 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + (0,0,35): 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + (0,0,46): 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + (0,0,57): 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, + (0,0,68): 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, + (0,0,79): 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + (0,0,90): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + (0,1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, + (0,1,9): 109, 110, 111, 112, 113, 114, 115, 116, 117, + (0,1,18): 118, 119, 120, 121, 122, 123, 124, 125, + (0,1,26): 126, 127, 128, 129, 130, 131, 132, 133, + (0,1,34): 134, 135, 136, 137, 138, 139, 140, 141, + (0,1,42): 142, 143, 144, 145, 146, 147, 148, 149, + (0,1,50): 150, 151, 152, 153, 154, 155, 156, 157, + (0,1,58): 158, 159, 160, 161, 162, 163, 164, 165, + (0,1,66): 166, 167, 168, 169, 170, 171, 172, 173, + (0,1,74): 174, 175, 176, 177, 178, 179, 180, 181, + (0,1,82): 182, 183, 184, 185, 186, 187, 188, 189, + (0,1,90): 190, 191, 192, 193, 194, 195, 196, 197, + (0,1,98): 198, 199, + (1,0,0): 200, 201, 202, 203, 204, 205, 206, 207, 208, + (1,0,9): 209, 210, 211, 212, 213, 214, 215, 216, 217, + (1,0,18): 218, 219, 220, 221, 222, 223, 224, 225, + (1,0,26): 226, 227, 228, 229, 230, 231, 232, 233, + (1,0,34): 234, 235, 236, 237, 238, 239, 240, 241, + (1,0,42): 242, 243, 244, 245, 246, 247, 248, 249, + (1,0,50): 250, 251, 252, 253, 254, 255, 256, 257, + (1,0,58): 258, 259, 260, 261, 262, 263, 264, 265, + (1,0,66): 266, 267, 268, 269, 270, 271, 272, 273, + (1,0,74): 274, 275, 276, 277, 278, 279, 280, 281, + (1,0,82): 282, 283, 284, 285, 286, 287, 288, 289, + (1,0,90): 290, 291, 292, 293, 294, 295, 296, 297, + (1,0,98): 298, 299, + (1,1,0): 300, 301, 302, 303, 304, 305, 306, 307, 308, + (1,1,9): 309, 310, 311, 312, 313, 314, 315, 316, 317, + (1,1,18): 318, 319, 320, 321, 322, 323, 324, 325, + (1,1,26): 326, 327, 328, 329, 330, 331, 332, 333, + (1,1,34): 334, 335, 336, 337, 338, 339, 340, 341, + (1,1,42): 342, 343, 344, 345, 346, 347, 348, 349, + (1,1,50): 350, 351, 352, 353, 354, 355, 356, 357, + (1,1,58): 358, 359, 360, 361, 362, 363, 364, 365, + (1,1,66): 366, 367, 368, 369, 370, 371, 372, 373, + (1,1,74): 374, 375, 376, 377, 378, 379, 380, 381, + (1,1,82): 382, 383, 384, 385, 386, 387, 388, 389, + (1,1,90): 390, 391, 392, 393, 394, 395, 396, 397, + (1,1,98): 398, 399 + } + } + } + } + } + } + } } } } |