Commit c16036e2 authored by Philipp Arras's avatar Philipp Arras
Browse files

Add tests for __repr__

parent 07f5cf1d
Pipeline #77014 passed with stages
in 12 minutes and 28 seconds
......@@ -214,3 +214,21 @@ def testValueInserter(sp, seed):
ind.append(int(ift.random.current_rng().integers(0, ss - 1)))
_check_repr(ift.ValueInserter(sp, ind))
@pmp('dom', _h_spaces + _p_spaces)
def testGaussianEnergy(dom):
@pmp('dom', _h_spaces + _p_spaces)
def testHamiltonian(dom):
lh = ift.GaussianEnergy(domain=dom)
@pmp('dom', _h_RG_spaces + _p_RG_spaces)
def testSumOperator(dom):
op0 = ift.FFTOperator(dom)
op1 = op0.scale(2)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment