def test_dot_product(self):
        v1 = {'a':1, 'b':2, 'c':0.5}
        v2 = {'a':2,        'c':2, 'd':100}
        
        self.assertEqual(term_vec.dot_product(v1, v2), 3)
Install a new code color scheme.
dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/test/term_vec_test.py/TermVecTest.test_dot_product--crossover with--dataset/ETHPy150Open jonathanslenders/ptpython/ptpython/python_input.py/PythonInput.install_code_colorscheme