#!/usr/bin/env ruby
require_relative 'bindings/proofmode_uniffi'
puts "Testing ProofMode Ruby bindings..."
begin
# Test version
version = ProofMode.get_proofmode_version
puts "Version: #{version}"
# Test hash
test_data = "Hello, ProofMode!".bytes
hash_val = ProofMode.get_file_hash(test_data)
puts "Hash of test data: #{hash_val}"
puts "Basic tests completed successfully"
rescue => e
puts "Test failed: #{e}"
puts e.backtrace.join("\n")
end