Imperative partition tests