mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
11 lines
181 B
Nim
11 lines
181 B
Nim
import std/heapqueue
|
|
import std/assertions
|
|
|
|
var test_queue : HeapQueue[int]
|
|
|
|
test_queue.push(7)
|
|
test_queue.push(3)
|
|
test_queue.push(9)
|
|
let i = test_queue.pushpop(10)
|
|
doAssert i == 3
|