old_contents: import pytest
  
  #from .utils import *
  import khmer
  from khmer._oxli.hashing import Kmer
  
  from boink.graph import ProbabilisticGraph
  from boink.stats import PSequenceFunction, PKmerFunction, PFunction_shim
  
  def test_PKmerFunc():
      kmer = Kmer('AAAAA')
      g = khmer.Nodegraph(5, 1e4, 4)
      f = PKmerFunction(g)
      assert f.evaluate(kmer) == 1.0
  
  
new_contents: import pytest
  
  #from .utils import *
  import khmer
  from khmer._oxli.hashing import Kmer
  from khmer._oxli.parsing import Sequence
  
  from boink.graph import ProbabilisticGraph
  from boink.stats import PSequenceFunction, PKmerFunction, PFunction_shim
  
  def test_PKmerFunc():
      kmer = Kmer('AAAAA')
      g = khmer.Nodegraph(5, 1e4, 4)
      f = PKmerFunction(g)
      assert f.evaluate(kmer) == 1.0
  
  def test_PSequenceFunc():
      sequence = Sequence(name='test', sequence='AAATAGCTAGCTCGATCGATCGGG')
      g = khmer.Nodegraph(5, 1e4, 4)
      f = PSequenceFunction(g)
      assert f.evaluate(sequence) == 1.0
  
subject: Test dummy PSequence