Cosmetics
This commit is contained in:
parent
01884fd45f
commit
0188cd49fe
3 changed files with 33 additions and 31 deletions
|
@ -113,7 +113,8 @@ suite "Field":
|
|||
var min: Field
|
||||
check min.Load("examples/minimal.b98") == true
|
||||
check min == minimal
|
||||
var hello1A: Field; var hello1B = Field(lx: 24, ly: 1, lines: @[Line(l:24, columns: @['6', '4', '+', '"', '!', 'd', 'l', 'r', 'o', 'W', ' ', ',', 'o', 'l', 'l', 'e', 'H', '"', '>', ':', '#', ',', '_', '@'].cols)])
|
||||
var hello1A: Field; var hello1B = Field(lx: 24, ly: 1, lines: @[Line(l: 24, columns: @['6', '4', '+', '"', '!', 'd', 'l', 'r', 'o', 'W', ' ', ',', 'o', 'l', 'l', 'e', 'H', '"',
|
||||
'>', ':', '#', ',', '_', '@'].cols)])
|
||||
check hello1A.Load("examples/hello.b98") == true
|
||||
check hello1A == hello1B
|
||||
var rn: Field
|
||||
|
@ -121,7 +122,8 @@ suite "Field":
|
|||
check rn == hello1B
|
||||
var hello2A: Field; var hello2B = Field(x: 1, lx: 33, ly: 2, lines: @[
|
||||
Line(x: 33, l: 1, columns: @['v'].cols),
|
||||
Line(x:1, l:33, columns: @['@', ' ', '>', ' ', '#', ';', '>', ':', '#', ',', '_', 'e', '-', 'j', ';', ' ', '"', 'H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '!', '"', 'd', 'a', '<'].cols)
|
||||
Line(x: 1, l: 33, columns: @['@', ' ', '>', ' ', '#', ';', '>', ':', '#', ',', '_', 'e', '-', 'j', ';', ' ', '"', 'H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '!',
|
||||
'"', 'd', 'a', '<'].cols)
|
||||
])
|
||||
check hello2A.Load("examples/hello2.b98") == true
|
||||
check hello2A == hello2B
|
||||
|
|
Reference in a new issue