Sha256: b7ed4f31439c7141a8bd2c6d634b04a8dd8a0321588808aa6746ee2f58cd34f5

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

require File.expand_path(File.dirname(__FILE__)) + '/../helper'

class DistortMiddlewareTest < Test::Unit::TestCase
  include ParabolicTracks
  
  def test_truth
    File.open("/tmp/dist.nk", "w") do |f |
      nx = Tracksperanto::Export::NukeScript.new(f)
      dist = Tracksperanto::Middleware::LensDistort.new(nx, :k => 0.03, :kcube => 0.02, :extend_image => true)
      export_parabolics_with(dist)
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tracksperanto-2.1.0 test/middleware/test_lens_distort_middleware.rb
tracksperanto-2.0.2 test/middleware/test_lens_distort_middleware.rb