Tests are skipped when te expected value is -2
This commit is contained in:
parent
aa2b91dfb2
commit
381496366f
|
@ -40,6 +40,11 @@ func (aoc adventOfCode) Solution(part int, f func(*bufio.Scanner) int) {
|
|||
|
||||
failed := false
|
||||
for i, testCase := range aoc.testCases {
|
||||
if testCase.results[part-1] == -2 {
|
||||
fmt.Printf("\tTest %d skipped!\n", i+1)
|
||||
continue
|
||||
}
|
||||
|
||||
input := bufio.NewScanner(strings.NewReader(testCase.input))
|
||||
result := f(input)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user