Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Jul 9, 2023
1 parent 2f29b39 commit 3857866
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_nco.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sdr
import numpy as np

import sdr


def test_constant_increment():
K0 = 1
Expand All @@ -14,7 +15,7 @@ def test_constant_increment():

N = 100
y = nco.step(N)
y_truth = np.arange(1, N+1) * increment + offset
y_truth = np.arange(1, N + 1) * increment + offset
assert np.allclose(y, y_truth)


Expand All @@ -30,5 +31,5 @@ def test_constant_increment_constant_offset():

N = 100
y = nco.step(N)
y_truth = np.arange(1, N+1) * increment + offset
y_truth = np.arange(1, N + 1) * increment + offset
assert np.allclose(y, y_truth)

0 comments on commit 3857866

Please sign in to comment.