Branch: Tag:

2004-06-20

2004-06-20 23:23:04 by Martin Nilsson <mani@lysator.liu.se>

A few, simple Priority_queue tests

Rev: lib/modules/ADT.pmod/testsuite.in:1.16

1:   START_MARKER - dnl $Id: testsuite.in,v 1.15 2004/05/02 18:26:43 nilsson Exp $ + dnl $Id: testsuite.in,v 1.16 2004/06/20 23:23:04 nilsson Exp $      dnl - ADT.BitBuffer   
104:   test_do(add_constant("adth"))       + dnl - ADT.Priority_queue    -  + test_eval_error( ADT.Priority_queue()->pop(); ) + test_any([[ +  object q=ADT.Priority_queue(); +  q->push(1,"a"); +  return q->pop(); + ]], "a") + test_any([[ +  object q=ADT.Priority_queue(); +  q->push(1,"a"); +  q->push(2,"b"); +  return q->pop(); + ]], "a") + test_any([[ +  object q=ADT.Priority_queue(); +  q->push(2,"a"); +  q->push(1,"b"); +  return q->pop(); + ]], "b") +  +    dnl - ADT.Stack      test_any([[