5 #######################################################################
6 # Specififying invalid name of unit produces exception.(for example tonne instead ton)
7 #######################################################################
11 set UnitString "ton/(m*s**2)"
15 set GoodResult "Token word : (ton)/((m)*((s)**(2)))"
17 if [catch { set List [unitparsing ${UnitString}] } result] {
18 puts "${BugNumber}: Faulty (1)"
20 if { ${List} == "${GoodResult}\n"} {
21 puts "${BugNumber}: OK"
23 puts "${BugNumber}: Faulty (2)"