# Path: nba_data/data/outcome.py
# class Outcome(Enum):
#     def get_outcome_from_abbreviation(abbreviation):


from unittest import TestCase
from nba_data.data.outcome import Outcome, outcome_abbreviation_to_outcome_map



class TestOutcome(TestCase):
    def test_get_outcome_from_abbreviation(self):
        self.assertEqual(Outcome.get_outcome_from_abbreviation("w"), Outcome.win)

# Path: nba_data/data/outcome.py
# class Outcome(Enum):
#     def get_outcome_from_abbreviation(abbreviation):


# Path: tests/test_outcome.py
from unittest import TestCase
from nba_data.data.outcome import Outcome, outcome_abbreviation_to_outcome_map




class TestOutcome(TestCase):
    def test_get_outcome_from_abbreviation(self):
        self.assertEqual(Outcome.get_outcome_from_abbreviation("w"), Outcome.win)

        self.assertEqual(Outcome.get_outcome_from_abbreviation("W"), Outcome.win)