(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:test_description)
          op: Equal
          rhs: {(SQ <'basic tests for priority queue implementation'>)}
        )
      ]
    )
    (C {(.)} {(./test-lib.sh)})
    (command.SimpleCommand
      words: [{(cat)}]
      redirects: [
        (redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(expect)})
        (redir.HereDoc
          op: <Redir_DLess '<<'>
          fd: 16777215
          here_begin: {(SQ <EOF>)}
          here_end_span_id: 35
          stdin_parts: [
            ('1\n')
            ('2\n')
            ('3\n')
            ('4\n')
            ('5\n')
            ('5\n')
            ('6\n')
            ('7\n')
            ('8\n')
            ('9\n')
            ('10\n')
          ]
        )
      ]
    )
    (C {(test_expect_success)} {(SQ <'basic ordering'>)} 
      {
        (SQ <'\n'> <'\ttest-prio-queue 2 6 3 10 9 5 7 4 5 8 1 dump >actual &&\n'> 
          <'\ttest_cmp expect actual\n'>
        )
      }
    )
    (command.SimpleCommand
      words: [{(cat)}]
      redirects: [
        (redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(expect)})
        (redir.HereDoc
          op: <Redir_DLess '<<'>
          fd: 16777215
          here_begin: {(SQ <EOF>)}
          here_end_span_id: 65
          stdin_parts: [('2\n') ('3\n') ('4\n') ('1\n') ('5\n') ('6\n')]
        )
      ]
    )
    (C {(test_expect_success)} {(SQ <'mixed put and get'>)} 
      {
        (SQ <'\n'> <'\ttest-prio-queue 6 2 4 get 5 3 get get 1 dump >actual &&\n'> 
          <'\ttest_cmp expect actual\n'>
        )
      }
    )
    (command.SimpleCommand
      words: [{(cat)}]
      redirects: [
        (redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(expect)})
        (redir.HereDoc
          op: <Redir_DLess '<<'>
          fd: 16777215
          here_begin: {(SQ <EOF>)}
          here_end_span_id: 95
          stdin_parts: [('1\n') ('2\n') ('NULL\n') ('1\n') ('2\n') ('NULL\n')]
        )
      ]
    )
    (C {(test_expect_success)} {(SQ <'notice empty queue'>)} 
      {
        (SQ <'\n'> <'\ttest-prio-queue 1 2 get get get 1 2 get get get >actual &&\n'> 
          <'\ttest_cmp expect actual\n'>
        )
      }
    )
    (C {(test_done)})
  ]
)