<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from utils import bools


class XORTestCase(object):
    def test_odd(self):
        things = [
            True,
            True,
            True,
            False,
            False,
            False,
            False,
        ]

        assert bools.xor(*things)

    def test_even(self):
        things = [
            True,
            True,
            False,
            False,
            False,
        ]

        assert not bools.xor(*things)
</pre></body></html>