Example #1
0
 def test_unequal(self):
     for name in self.bad_file:
         path = os.path.join(REF_DATA_PATH, name)
         match = core.binary_file_compare(self.ref_file_path,
                                          path)
         self.assertNotEqual(match, 0)
Example #2
0
 def test_equal(self):
     match = core.binary_file_compare(self.ref_file_path,
                                      self.ref_file_path)
     self.assertEqual(match, 0)