Sha256: 5d9c0960dadf8fae891e3bebace41858605bfdf13a362903fe213a38a23859bd

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

require 'test/unit'
require 'lib/camellia'
include Camellia

class TestCapture < Test::Unit::TestCase
  def test_capture
    image=CamImage.new
    camera=CamCapture2.new
    for i in 1..30 do
      camera.capture(image)
      puts "Grabbed image #{i}"
    end
    image.save_bmp('output/capture.bmp')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
camellia-2.7.0-i386-mswin32 test/test_capture.rb
camellia-2.7.0-x86-linux test/test_capture.rb