# This script tests the parameters in makejs.rb and gives
# the output size in bytes.

(1..5).each do |wuc|
  (1..5).each do |wl|
    ENV['MIN_WORD_USAGE_COUNT'] = wuc.to_s
    ENV['MIN_WORD_LENGTH'] = wl.to_s

    output = `ruby makejs.rb myemoj.json`
    puts "#{output.bytesize} bytes. min usage count=#{wuc} min word length=#{wl}"
  end
end
