class Test def main is shared s as Stack = Stack() assert s.count == 0 s.push('a') s.push('b') assert s.pop == 'b' assert s.pop == 'a' assert not s.count q as Queue = Queue() q.enqueue(1.0) q.enqueue(2) assert q.dequeue == 1.0 assert q.dequeue == 2