def test_get_hash_none(self):
        expected = sha512(b'null')
        actual = _get_hash(None)
        self.assertEqual(expected.hexdigest(), actual.hexdigest())
Compute the cost function over a list of inputs and targets.
dataset/ETHPy150Open ntoll/p4p2p/test/dht/test_crypto.py/TestGetHashFunction.test_get_hash_none--crossover with--dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py/Multicost.get_cost