fix test for bug #6989
This commit is contained in:
parent
68dfd1729e
commit
78fb3ffeb1
2 changed files with 4 additions and 5 deletions
|
|
@ -11,11 +11,9 @@ fjpmholcibdgeakn
|
||||||
'''
|
'''
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import strutils, sequtils
|
import strutils, sequtils, typetraits, os
|
||||||
# bug #6989
|
# bug #6989
|
||||||
|
|
||||||
import typetraits
|
|
||||||
|
|
||||||
type Dist = distinct int
|
type Dist = distinct int
|
||||||
|
|
||||||
proc mypred[T: Ordinal](x: T): T = T(int(x)-1)
|
proc mypred[T: Ordinal](x: T): T = T(int(x)-1)
|
||||||
|
|
@ -63,8 +61,8 @@ echo testStr[testStr.len - 8 .. testStr.len - 1] & "__" & testStr[0 .. testStr.l
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const
|
var
|
||||||
instructions = readFile("./inputs/16.txt").split(',')
|
instructions = readFile(getAppDir() / "troofregression2.txt").split(',')
|
||||||
programs = "abcdefghijklmnop"
|
programs = "abcdefghijklmnop"
|
||||||
|
|
||||||
proc dance(dancers: string): string =
|
proc dance(dancers: string): string =
|
||||||
|
|
|
||||||
1
tests/array/troofregression2.txt
Normal file
1
tests/array/troofregression2.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue