# To change this template, choose Tools | Templates
# and open the template in the editor.

$:.unshift File.join(File.dirname(__FILE__),'..','lib')

require 'test/unit'
require 'roller'
require 'fileutils'

class Test_cli_satellite_mask < Test::Unit::TestCase
  def test_mask
    Dir.chdir 'test_data'

    ARGV.clear
    ARGV.push 'eden_ofp_unbin.wrp'
    #ARGV.push "--replace-objects", "../config/ofp_objects_to_arma_objects,../config/ofp_objects_to_aceip_objects.yaml,ofp_vegetation_to_arma_vegetation,ofp_vegetation_to_aceip_vegetation.yaml"
    #ARGV.push "--replace-forests", "ofp_forest_blocks_to_arma_single_object_forest,ofp_forest_blocks_to_aceip_single_object_forest.yaml"
    #ARGV.push '--raise-sea-level', '+100'
    ARGV.push '--satellite-mask'
    ARGV.push '--satellite-cell-size', '32'
    ARGV.push '-f'
    ARGV.push '-p'
    
    CWrp::Cli.process

  end
end
