import sys
sys.path.insert(0, 'bindings')
try:
from proofmode_uniffi import get_version, get_file_hash
print("Testing basic functions...")
try:
version = get_version()
print(f"Version: {version}")
except Exception as e:
print(f"Version test failed: {e}")
try:
test_data = b"Hello, ProofMode!"
hash_val = get_file_hash(test_data)
print(f"Hash of test data: {hash_val}")
except Exception as e:
print(f"Hash test failed: {e}")
print("Basic tests completed")
except ImportError as e:
print(f"Failed to import bindings: {e}")
except Exception as e:
print(f"Unexpected error: {e}")