Simon Strandgaard wrote: >> [{:input => [1], :output => 0}, >> {:input => [3], :output_in => [0, 1, 2]}, >> {:input => [], :output_class => Float, >> :output_range => 0...1.0}] > > What about :in :out :fail :error :in and :out are fine with me. As for the other perhaps we should mirror more closely with the other assert_*() method names, e.g. :raises (assert_raises), etc. > assert_array(expected, :func) > assert_inout(expected, :func) Both are better than assert_follows_spec I think :) -- dave