# 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
        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,
                         {
                            "G": Position.guard,
                            "G-F": Position.guard_forward,
                            "F-G": Position.forward_guard,
                            "F": Position.forward,
                            "C": Position.center,
                            "F-C": Position.forward_center,
                         })

    def test_get_position_from_name(self):
        guard = Position.get_position_from_name("GUARD")
        self.assertEqual(guard, Position.guard)

        another_guard = Position.get_position_from_name("guard")
        self.assertEqual(another_guard, Position.guard)

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

        self.assertEqual(name_to_position_map,
                         {
                            "GUARD": Position.guard,
                            "GUARD-FORWARD": Position.guard_forward,
                            "FORWARD-GUARD": Position.forward_guard,
                            "FORWARD": Position.forward,

# 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

        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,
                         {
                            "G": Position.guard,
                            "G-F": Position.guard_forward,
                            "F-G": Position.forward_guard,
                            "F": Position.forward,
                            "C": Position.center,
                            "F-C": Position.forward_center,
                         })

    def test_get_position_from_name(self):
        guard = Position.get_position_from_name("GUARD")
        self.assertEqual(guard, Position.guard)

        another_guard = Position.get_position_from_name("guard")
        self.assertEqual(another_guard, Position.guard)

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

        self.assertEqual(name_to_position_map,
                         {
                            "GUARD": Position.guard,
                            "GUARD-FORWARD": Position.guard_forward,
                            "FORWARD-GUARD": Position.forward_guard,
                            "FORWARD": Position.forward,

                            "CENTER": Position.center,