# Autogenerated from KST: please remove this line if doing any edits by hand!

import unittest

from nav_parent import NavParent

class TestNavParent(unittest.TestCase):
    def test_nav_parent(self):
        with NavParent.from_file('src/nav.bin') as r:
            self.assertEqual(r.header.qty_entries, 2)
            self.assertEqual(r.header.filename_len, 8)
            self.assertEqual(len(r.index.entries), 2)
            self.assertEqual(r.index.entries[0].filename, u"FIRST___")
            self.assertEqual(r.index.entries[1].filename, u"SECOND__")

# Autogenerated from KST: please remove this line if doing any edits by hand!

import unittest

from nav_parent import NavParent

class TestNavParent(unittest.TestCase):
    def test_nav_parent(self):
        with NavParent.from_file('src/nav.bin') as r:
            self.assertEqual(r.header.qty_entries, 2)
            self.assertEqual(r.header.filename_len, 8)
            self.assertEqual(len(r.index.entries), 2)
            self.assertEqual(r.index.entries[0].filename, u"FIRST___")
            self.assertEqual(r.index.entries[1].filename, u"SECOND__")

# Autogenerated from KST: please remove this line if doing any edits by hand!