(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:test_description)
          op: Equal
          rhs: {(SQ <'basic tests for priority queue implementation'>)}
          spids: [4]
        )
      ]
      spids: [4]
    )
    (C {(.)} {(./test-lib.sh)})
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(expect)} spids:[16])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: 
            {('1\n') ('2\n') ('3\n') ('4\n') ('5\n') ('5\n') ('6\n') ('7\n') ('8\n') ('9\n') ('10\n')}
          do_expansion: False
          here_end: EOF
          was_filled: T
          spids: [19]
        )
      ]
    )
    (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'>
        )
      }
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(expect)} spids:[39])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: {('2\n') ('3\n') ('4\n') ('1\n') ('5\n') ('6\n')}
          do_expansion: False
          here_end: EOF
          was_filled: T
          spids: [42]
        )
      ]
    )
    (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'>
        )
      }
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(expect)} spids:[62])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: {('1\n') ('2\n') ('NULL\n') ('1\n') ('2\n') ('NULL\n')}
          do_expansion: False
          here_end: EOF
          was_filled: T
          spids: [65]
        )
      ]
    )
    (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)})
  ]
)