2021-04-30 17:30:24 +00:00
|
|
|
import unittest
|
|
|
|
|
|
|
|
|
|
from hippolyzer.lib.base.datatypes import UUID
|
2021-05-23 10:39:20 +00:00
|
|
|
from hippolyzer.lib.base.vfs import STATIC_VFS
|
2021-04-30 17:30:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class StaticVFSTest(unittest.TestCase):
|
|
|
|
|
def test_basic(self):
|
|
|
|
|
# Load the block for the fly anim
|
|
|
|
|
block = STATIC_VFS[UUID("aec4610c-757f-bc4e-c092-c6e9caf18daf")]
|
|
|
|
|
anim_data = STATIC_VFS.read_block(block)
|
|
|
|
|
self.assertEqual(len(anim_data), 1414)
|