1 # This script tests the parameters in makejs.rb and gives
     2 # the output size in bytes.
     3 
     4 (1..5).each do |wuc|
     5   (1..5).each do |wl|
     6     ENV['MIN_WORD_USAGE_COUNT'] = wuc.to_s
     7     ENV['MIN_WORD_LENGTH'] = wl.to_s
     8 
     9     output = `ruby makejs.rb myemoj.json`
    10     puts "#{output.bytesize} bytes. min usage count=#{wuc} min word length=#{wl}"
    11   end
    12 end