def testSimpleMergeList(self):

		fb = Random_Recommender( )
		additional_filter_1 = { 'domainid' : 'domain1' }
		userid = 123
		N = 3

		resultSet_1 = fb.get_recommendation( userid, additional_filter_1, N=N, remove = False, ranked = True )
		if self.debug: print resultSet_1

		resultSet_2 = fb.get_recommendation( userid, additional_filter_1, N=N, remove = False, ranked = True )
		if self.debug: print resultSet_2


		slm = SimpleListMerge()
		slm.add('a', resultSet_1)
		slm.add('b', resultSet_2)
		unchanged_list = slm.merge_naive( {'a':0.5, 'b' : 0.5} )

		self.assertEqual(unchanged_list, resultSet_1, "merging two same lists results the same list")
	def test_merge_dictionary_naive(self):

		slm = SimpleListMerge()

		slm.merge_dictionary_naive()