Skip to content

Commit 0eb3e22

Browse files
committed
Removed clutter in tests
1 parent 3a925e9 commit 0eb3e22

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

pySDC/tests/test_helpers/test_spectral_helper_1d_chebychev.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ def test_transform(N, d, transform_type):
153153
norm = cheby.get_norm()
154154
x = (cheby.get_1dgrid() * cheby.lin_trf_fac + cheby.lin_trf_off) * cheby.lin_trf_fac + cheby.lin_trf_off
155155
x = (cheby.get_1dgrid() - cheby.lin_trf_off) / cheby.lin_trf_fac
156-
print(x)
157156

158157
itransform = cheby.itransform(u, axis=-1).real
159158

@@ -402,17 +401,3 @@ def test_tau_method2D_diffusion(nz, nx, bc_val, plotting=False):
402401
assert np.allclose(
403402
polys[i](z), sol[0, i, :]
404403
), f'Solution is incorrectly transformed back to real space at x={x[i]}'
405-
406-
407-
if __name__ == '__main__':
408-
test_differentiation_non_standard_domain_size(16, -2, 2, 1)
409-
# test_differentiation_matrix(4, 0, 1)
410-
# test_transform(6, 1, 0, 'fft')
411-
# test_tau_method('T2U', -1.0, N=4, bc_val=3.0)
412-
# test_tau_method2D('T2T', -1, nx=2**7, nz=2**6, bc_val=4.0, plotting=True)
413-
# test_integration_matrix(5, 'T2U')
414-
# test_integration_matrix2D(2**0, 2**2, 'T2U', 'z')
415-
# test_differentiation_matrix2D(2**7, 2**7, 'T2U', 'mixed')
416-
# test_integration_BC(6)
417-
# test_filter(12, 2, 5, 'T2U')
418-
print('done')

pySDC/tests/test_helpers/test_spectral_helper_1d_ultraspherical.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,3 @@ def test_poisson_problem(N, deg, Dirichlet_recombination):
125125

126126
assert np.allclose(u_hat[deg + 3 :], 0)
127127
assert np.allclose(u_exact, u)
128-
129-
130-
if __name__ == '__main__':
131-
test_differentiation_non_standard_domain_size(4, 0, 1, 1)
132-
# test_differentiation_matrix(6, 2)
133-
# test_poisson_problem(6, 1, True)
134-
# test_integration()

0 commit comments

Comments
 (0)