brittany
brittany copied to clipboard
semi-automatic test case generation
Given an existing test case:
- Split each line into haskell lexemes
- Change the whitespace willy-nilly between lexemes, maintaining
- The indentation of the initial lexeme
- The minimum indentation of any lexeme should be greater than the initial one (for the case when newlines are inserted before a lexeme)
- Not more than one newline before each lexeme
This generates a new testcase which should vary in formatting from the initial one.