ruby : add more APIs (#2518)

* Add test for built package existence

* Add more tests for Whisper::Params

* Add more Whisper::Params attributes

* Add tests for callbacks

* Add progress and abort callback features

* [skip ci] Add prompt usage in README

* Change prompt text in example
This commit is contained in:
KITAITI Makoto
2024-10-29 02:23:23 +09:00
committed by GitHub
parent fc49ee4479
commit d4bc413505
6 changed files with 451 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ class TestPackage < Test::Unit::TestCase
Tempfile.create do |file|
assert system("gem", "build", "whispercpp.gemspec", "--output", file.to_path.shellescape, exception: true)
assert file.size > 0
assert_path_exist file.to_path
end
end