# Dither Collection of combinatorial test generation strategies. # Usage Use 2-Way IPOG ```ruby require 'dither' results = Dither.ipog([[true, false], [:cat, :dog, :mouse], (0...3).to_a]) results.each { |a| puts "#{a}" } # output [true, :cat, 0] [true, :dog, 1] [true, :mouse, 2] [false, :cat, 0] [false, :dog, 1] [false, :mouse, 2] [true, :cat, 0] [true, :dog, 1] [true, :mouse, 2] ``` Use 3-Way IPOG ```ruby require 'dither' results = Dither.ipog([[true, false], [true, false], [:cat, :dog, :mouse], (0...5).to_a], :t => 3) results.each { |a| puts "#{a}" } # output [true, true, :cat, 0] ... ``` # Note on Patches/Pull Requests * Fork the project. * Make your feature addition or bug fix. * Add tests for it. This is important so I don't break it in a future version unintentionally. * Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) * Send me a pull request. Bonus points for topic branches # Copyright includes [dither-java](https://github.com/jesg/dither-java) Apache License, Version 2.0 Copyright (c) 2015 Jason Gowan See LICENSE for details.