def test_get_diff_threshold(self): blockchain = Blockchain() self.assertEqual(100, blockchain.get_diff_threshold())
def test_set_diff_threshold(self): blockchain = Blockchain() blockchain.set_diff_threshold(diff_threshold=10) self.assertEqual(10, blockchain.get_diff_threshold())