# Path: nba_data/data/position.py
# class Position(Enum):
#     def get_position_from_abbreviation(abbreviation):
#     def get_position_from_name(name):


from unittest import TestCase
from nba_data.data.position import Position, abbreviation_to_position_map, name_to_position_map



class TestPosition(TestCase):
    def test_get_position_from_abbreviation(self):
        guard = Position.get_position_from_abbreviation("g")
        self.assertEqual(guard, Position.guard)

        another_guard = Position.get_position_from_abbreviation("G")
        self.assertEqual(another_guard, Position.guard)

        self.assertIsNone(Position.get_position_from_abbreviation("jae"))

        self.assertEqual(abbreviation_to_position_map,

# Path: nba_data/data/position.py
# class Position(Enum):
#     def get_position_from_abbreviation(abbreviation):
#     def get_position_from_name(name):


# Path: tests/test_position.py
from unittest import TestCase
from nba_data.data.position import Position, abbreviation_to_position_map, name_to_position_map




class TestPosition(TestCase):
    def test_get_position_from_abbreviation(self):
        guard = Position.get_position_from_abbreviation("g")
        self.assertEqual(guard, Position.guard)

        another_guard = Position.get_position_from_abbreviation("G")
        self.assertEqual(another_guard, Position.guard)

        self.assertIsNone(Position.get_position_from_abbreviation("jae"))

        self.assertEqual(abbreviation_to_position_map,

                         {