CS553_CaseStudy1 / test_detect_genre.py
github-actions
Deploy to Spaces with Xet
9826f0b
from backend import detect_genres
def test_one_genre():
detect_genres("I like Action"),["Action"]
def test_multiple_genres():
detect_genres("I like Action and Mystery"),["Action","Mystery"]
def test_no_genres():
detect_genres("I like Interesting shows"),[]