def METHOD_NAME():
  for cp in [True, False]:
    pdb_io = pdb.input(source_info=None, lines=pdb_str_1)
    pdb_hierarchy = pdb_io.construct_hierarchy()
    cs = clashscore.clashscore(
        pdb_hierarchy=pdb_hierarchy,
        fast = False,
        condensed_probe=cp,
        out=null_out())
    for unpickle in [False, True] :
      if (unpickle):
        cs = loads(dumps(cs))
      c_score = cs.get_clashscore()
      assert approx_equal(c_score, 35.29, eps=0.01)
      bad_clashes_list = cs.results
      assert ([ c.format_old() for c in bad_clashes_list ] ==
        [' A  72  ARG  HG2  A  72  ARG  O   :1.038',
        ' A  72  ARG  CG   A  72  ARG  O   :0.465',
        ' A  71  LEU  HA   A  71  LEU HD12 :0.446']), [ c.format_old() for c in bad_clashes_list ]
    #test nuclear distances
    cs = clashscore.clashscore(
        pdb_hierarchy=pdb_hierarchy,
        fast = False,
        condensed_probe=cp,
        nuclear=True)
    for unpickle in [False, True] :
      if (unpickle):
        cs = loads(dumps(cs))
      c_score = cs.get_clashscore()
      assert approx_equal(c_score, 58.82, eps=0.01)
      bad_clashes_list = cs.results
      assert ([ c.format_old() for c in bad_clashes_list ] ==
        [ ' A  72  ARG  HG2  A  72  ARG  O   :1.082',
          ' A  72  ARG  CG   A  72  ARG  O   :0.622',
          ' A  71  LEU  HA   A  71  LEU HD12 :0.535',
          ' A  72  ARG  HB3  A  72  ARG  HE  :0.475',
          ' A  72  ARG  HD3  A  72  ARG HH11 :0.451'])
    #test B factor cutoff
    cs = clashscore.clashscore(
        pdb_hierarchy=pdb_hierarchy,
        fast = False,
        condensed_probe=cp,
        b_factor_cutoff=40)
    for unpickle in [False, True] :
      if (unpickle):
        cs = loads(dumps(cs))
      c_score = cs.get_clashscore()
      assert approx_equal(c_score, 35.29, eps=0.01)
      c_score_b_cutoff = cs.get_clashscore_b_cutoff()
      assert approx_equal(c_score_b_cutoff, 39.47, eps=0.01)
      bad_clashes_list = cs.results
      assert ([ c.format_old() for c in bad_clashes_list ] ==
        [' A  72  ARG  HG2  A  72  ARG  O   :1.038',
        ' A  72  ARG  CG   A  72  ARG  O   :0.465',
        ' A  71  LEU  HA   A  71  LEU HD12 :0.446'])