from enum import IntEnum

from scc.uinput import Keys


class TestKeys:
	def test_up_str(self):
		assert isinstance(Keys.KEY_UP, IntEnum)
		assert Keys.KEY_UP.name == "KEY_UP"
		assert Keys.KEY_UP == 103
