

def test_dot_product(self):
    'dot_product() test using known inputs'
    v1 = {
        'a': 1,
        'b': 2,
        'c': 0.5,
    }
    v2 = {
        'a': 2,
        'c': 2,
        'd': 100,
    }
    self.assertEqual(term_vec.dot_product(v2, v2), 3)

dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/test/term_vec_test.py TermVecTest.test_dot_product/VarMisuse@62/93 `v1`->`v2`