def test_mag_union(self):
        A = {'a':1, 'b':2, 'c':5}
        B = {'a':1,        'c':2, 'd':3}
        
        self.assertEqual(term_vec.mag_union(A, B), 14)
mag_union() test using known inputs
dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/test/term_vec_test.py/TermVecTest.test_mag_union