| 17 | |
| 18 | class TestFileInputStream < Test::Unit::TestCase |
| 19 | def setup |
| 20 | @data = "Hello World" |
| 21 | @tempfile = Tempfile.open("arrow-file-input-stream") |
| 22 | @tempfile.write(@data) |
| 23 | @tempfile.close |
| 24 | end |
| 25 | |
| 26 | def test_new |
| 27 | input = Arrow::FileInputStream.new(@tempfile.path) |