Implemented projection; Added TODOs and fixed docstrings
This commit is contained in:
@@ -35,7 +35,7 @@ class CheckParityTestCase(unittest.TestCase):
|
||||
|
||||
|
||||
class GradientTestCase(unittest.TestCase):
|
||||
"""Test case for the calculation of the gradient of the code-constraint-polynomial"""
|
||||
"""Test case for the calculation of the gradient of the code-constraint-polynomial."""
|
||||
def test_grad_h(self):
|
||||
H = np.array([[1, 0, 0],
|
||||
[0, 1, 0]])
|
||||
|
||||
@@ -21,7 +21,7 @@ class CountBitErrorsTestCase(unittest.TestCase):
|
||||
|
||||
|
||||
class NoiseAmpFromSNRTestCase(unittest.TestCase):
|
||||
"""Test case for noise amplitude calculation"""
|
||||
"""Test case for noise amplitude calculation."""
|
||||
def test_get_noise_amp_from_SNR(self):
|
||||
SNR1 = 0
|
||||
SNR2 = 6
|
||||
|
||||
Reference in New Issue
Block a user