Sha256: 8273b6c37c1f32f5a968cb5dcb06721a7965cee5ef1732cc6f97d37d6a1e5e6b

Contents?: true

Size: 405 Bytes

Versions: 6

Compression:

Stored size: 405 Bytes

Contents

require 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

6 entries across 6 versions & 1 rubygems

Version Path
tracksperanto-2.0.1 test/middleware/test_lens_distort_middleware.rb
tracksperanto-2.0.0 test/middleware/test_lens_distort_middleware.rb
tracksperanto-1.9.9 test/middleware/test_lens_distort_middleware.rb
tracksperanto-1.9.8 test/middleware/test_lens_distort_middleware.rb
tracksperanto-1.9.6 test/middleware/test_lens_distort_middleware.rb
tracksperanto-1.9.5 test/middleware/test_lens_distort_middleware.rb