mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-08-02 03:19:06 +00:00
adding new files
This commit is contained in:
7
python/tests/test_basic_backend_selection.py
Normal file
7
python/tests/test_basic_backend_selection.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from basisu_py import Encoder
|
||||
|
||||
enc = Encoder() # AUTO mode
|
||||
print("Encoder backend:", enc.backend)
|
||||
print("Native loaded:", enc._native is not None)
|
||||
print("WASM loaded:", enc._wasm is not None)
|
||||
print("Version:", enc._native.get_version() if enc._native else enc._wasm.get_version())
|
||||
Reference in New Issue
Block a user