mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-26 17:23:14 +00:00
setting up slot builder
This commit is contained in:
parent
75a75446bb
commit
e7996bf058
6
codex/slotbuilder/slotbuilder.nim
Normal file
6
codex/slotbuilder/slotbuilder.nim
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
type
|
||||
SlotBuilder* = object of RootObj
|
||||
|
||||
proc aaa*(self: SlotBuilder): void =
|
||||
echo "aaa"
|
||||
17
tests/codex/slotbuilder/testslotbuilder.nim
Normal file
17
tests/codex/slotbuilder/testslotbuilder.nim
Normal file
@ -0,0 +1,17 @@
|
||||
import pkg/chronos
|
||||
import pkg/asynctest
|
||||
import pkg/questionable/results
|
||||
import pkg/codex/blocktype as bt
|
||||
import pkg/codex/stores/cachestore
|
||||
|
||||
import ../helpers
|
||||
|
||||
import codex/slotbuilder/slotbuilder
|
||||
|
||||
asyncchecksuite "Slot builder":
|
||||
test "a":
|
||||
let builder = SlotBuilder()
|
||||
builder.aaa()
|
||||
|
||||
check:
|
||||
1 == 1
|
||||
Loading…
x
Reference in New Issue
Block a user