Skip to content

Commit

Permalink
Removing IDAD tests
Browse files Browse the repository at this point in the history
  • Loading branch information
w3schools-test committed Jan 13, 2023
1 parent 409b6cb commit 00a2e76
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/test_utils.py
Expand Up @@ -69,16 +69,6 @@ def setUpClass(cls):
cls.A = np.array([[0, 1, 0], [1, 0, 1], [0, 1, 0]])
cls.B = np.array([[0, 1, 1, 1], [0, 0, 0, 1], [0, 1, 0, 1], [0, 1, 1, 0]])

def test_to_laplacian_IDAD(self):
expected_L_normed = [
[1, -1 / (sqrt(2)), 0],
[-1 / (sqrt(2)), 1, -1 / (sqrt(2))],
[0, -1 / (sqrt(2)), 1],
]

L_normed = gus.to_laplacian(self.A, form="I-DAD")
self.assertTrue(np.allclose(L_normed, expected_L_normed, rtol=1e-04))

def test_to_laplacian_DAD(self):
expected_L_normed = [
[0, 1 / sqrt(2), 0],
Expand Down

0 comments on commit 00a2e76

Please sign in to comment.