Skip to content

Commit b4e3375

Browse files
committed
fix
1 parent 04a0ef9 commit b4e3375

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

ton-kotlin-hashmap/src/jvmTest/kotlin/TestDict.kt

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@ import org.ton.crypto.hex
44
import org.ton.hashmap.HmEdge
55
import org.ton.tlb.constructor.AnyTlbConstructor
66

7-
class TestDict {
8-
@Test
9-
fun test() {
10-
val cell =
11-
BagOfCells(hex(runCmd("fift -I /usr/local/lib/fift/ /Users/andreypfau/IdeaProjects/ton-kotlin/ton-kotlin-hashmap/src/jvmTest/resources/test.fif"))).first()
12-
val codec = HmEdge.tlbCodec(4, AnyTlbConstructor)
13-
val map = codec.loadTlb(cell)
14-
println(map.toString())
15-
map.forEach {
16-
println("${it.first.toBinary()} = ${it.second.bits.toBinary()}")
17-
}
7+
fun main() {
8+
val cell =
9+
BagOfCells(hex(runCmd("fift -I /usr/local/lib/fift/ /Users/andreypfau/IdeaProjects/ton-kotlin/ton-kotlin-hashmap/src/jvmTest/resources/test.fif"))).first()
10+
val codec = HmEdge.tlbCodec(4, AnyTlbConstructor)
11+
val map = codec.loadTlb(cell)
12+
println(map.toString())
13+
map.forEach {
14+
println("${it.first.toBinary()} = ${it.second.bits.toBinary()}")
1815
}
1916
}
2017

0 commit comments

Comments
 (0)