'test masking noise function.'

def test_masking_noise(self):

    x_noise = utils.masking_noise(self.x, self.v)
    for sample in x_noise:
        self.assertEqual(sum([(i == 0) for i in sample]), self.v)
