2017-02-12 13:21:08 +01:00
|
|
|
# <test>
|
|
|
|
|
# <name>t2.5.ot</name>
|
|
|
|
|
# <content-description>Two empty cells</content-description>
|
|
|
|
|
# <test-intention>Basic reader capabilities</test-intention>
|
|
|
|
|
# <test-intention>CELL record reading</test-intention>
|
|
|
|
|
# <test-intention>Cell name specification by ID</test-intention>
|
|
|
|
|
# <test-intention>Explicit assignment of ID's</test-intention>
|
|
|
|
|
# <test-intention>Use of undefined ID</test-intention>
|
|
|
|
|
# <must-fail>No cellname declared for cell id 2</must-fail>
|
|
|
|
|
# </test>
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
header
|
2017-02-12 13:21:08 +01:00
|
|
|
real 0 1000.0
|
|
|
|
|
uint 0 ;# offset table is in start record
|
|
|
|
|
for { set i 0 } { $i < 12 } { incr i } { uint 0 }
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
# ABC gets assigned 1
|
2017-02-12 13:21:08 +01:00
|
|
|
record CELLNAME_ID
|
2021-08-11 07:33:43 +02:00
|
|
|
str ABC
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 1
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
# XYZ gets assigned 0
|
2017-02-12 13:21:08 +01:00
|
|
|
record CELLNAME_ID
|
|
|
|
|
str XYZ
|
|
|
|
|
uint 0
|
|
|
|
|
|
|
|
|
|
# Cell XYZ (empty)
|
|
|
|
|
record CELL_ID
|
|
|
|
|
uint 0
|
|
|
|
|
|
|
|
|
|
# Cell ABC
|
|
|
|
|
record CELL_ID
|
|
|
|
|
uint 2
|
|
|
|
|
|
|
|
|
|
# no body.
|
|
|
|
|
|
|
|
|
|
tail
|
|
|
|
|
|