def test_semi_candidateItems(self): userID = 'Leopoldo Pires' strategy = PreferredItemsNeighborhoodStrategy() self.assertEquals(['Just My Luck', 'You, Me and Dupree'],strategy.candidateItems(userID,self.model))
def test_full_candidateItems(self): userID = 'Marcel Caraciolo' strategy = PreferredItemsNeighborhoodStrategy() self.assertEquals([],strategy.candidateItems(userID,self.model))
def test_empty_candidateItems(self): userID = 'Maria Gabriela' strategy = PreferredItemsNeighborhoodStrategy() self.assertEquals([],strategy.candidateItems(userID,self.model))
def test_semi_candidateItems(self): userID = 'Leopoldo Pires' strategy = PreferredItemsNeighborhoodStrategy() self.assertEquals(['Just My Luck', 'You, Me and Dupree'], strategy.candidateItems(userID, self.model))
def test_full_candidateItems(self): userID = 'Marcel Caraciolo' strategy = PreferredItemsNeighborhoodStrategy() self.assertEquals([], strategy.candidateItems(userID, self.model))
def test_empty_candidateItems(self): userID = 'Maria Gabriela' strategy = PreferredItemsNeighborhoodStrategy() self.assertEquals([], strategy.candidateItems(userID, self.model))