Sha256: dee3df044bf3fec9d4b357fa2afe246de669c12129074d6c1aedfc984ac5546a

Contents?: true

Size: 499 Bytes

Versions: 15

Compression:

Stored size: 499 Bytes

Contents

%w[../xot ../rucy .]
  .map  {|s| File.expand_path "../#{s}/lib", __dir__}
  .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}

require 'xot/test'
require 'rays'

require 'test/unit'

include Xot::Test


unless defined?($RAYS_NOAUTOINIT) && $RAYS_NOAUTOINIT
  def Rays.fin!() end
end


def assert_equal_color(c1, c2, delta = 0.000001)
  assert_in_delta c1.r, c2.r, delta
  assert_in_delta c1.g, c2.g, delta
  assert_in_delta c1.b, c2.b, delta
  assert_in_delta c1.a, c2.a, delta
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rays-0.2 test/helper.rb
rays-0.1.49 test/helper.rb
rays-0.1.48 test/helper.rb
rays-0.1.47 test/helper.rb
rays-0.1.46 test/helper.rb
rays-0.1.45 test/helper.rb
rays-0.1.44 test/helper.rb
rays-0.1.43 test/helper.rb
rays-0.1.42 test/helper.rb
rays-0.1.40 test/helper.rb
rays-0.1.39 test/helper.rb
rays-0.1.38 test/helper.rb
rays-0.1.37 test/helper.rb
rays-0.1.36 test/helper.rb
rays-0.1.35 test/helper.rb