[setup]

dir input-files {
  file a.txt = "GOOD contents"
  file b.txt = "bad contents"
}

dir output-files {
  dir good
  dir bad
}


[act]

classify-files-by-moving-to-appropriate-dir GOOD .

[assert]

dir-contents input-files empty

exists --file output-files/good/a.txt
dir-contents  output-files/good num-files = 1

exists --file output-files/bad/b.txt
dir-contents  output-files/bad num-files = 1
