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

import unittest

from expr_bytes_cmp import ExprBytesCmp

class TestExprBytesCmp(unittest.TestCase):
    def test_expr_bytes_cmp(self):
        with ExprBytesCmp.from_file('src/fixed_struct.bin') as r:
            self.assertEqual(r.one, b"\x50")
            self.assertEqual(r.two, b"\x41\x43\x4B")
            self.assertEqual(r.is_eq, True)
            self.assertEqual(r.is_ne, False)
            self.assertEqual(r.is_lt, True)
            self.assertEqual(r.is_gt, False)
            self.assertEqual(r.is_le, True)
            self.assertEqual(r.is_ge, False)
            self.assertEqual(r.is_lt2, False)
            self.assertEqual(r.is_gt2, True)

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

import unittest

from expr_bytes_cmp import ExprBytesCmp

class TestExprBytesCmp(unittest.TestCase):
    def test_expr_bytes_cmp(self):
        with ExprBytesCmp.from_file('src/fixed_struct.bin') as r:
            self.assertEqual(r.one, b"\x50")
            self.assertEqual(r.two, b"\x41\x43\x4B")
            self.assertEqual(r.is_eq, True)
            self.assertEqual(r.is_ne, False)
            self.assertEqual(r.is_lt, True)
            self.assertEqual(r.is_gt, False)
            self.assertEqual(r.is_le, True)
            self.assertEqual(r.is_ge, False)
            self.assertEqual(r.is_lt2, False)
            self.assertEqual(r.is_gt2, True)

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