Files
moon-i2p/moon_i2p_test.mbt
Antigravity e527b84bc3
check / check (ubuntu-latest) (push) Failing after 30s
check / check (macos-latest) (push) Failing after 33s
check / check (windows-latest) (push) Failing after 32s
feat: bootstrap moon-i2p core protocol foundation
2026-11-27 15:37:42 +00:00

13 lines
381 B
MoonBit

///|
test "root facade derive_b32_address and demo_summary" {
let addr = @moon_i2p.derive_b32_address(
Bytes::make(32, b'\x01'),
Bytes::make(32, b'\x02'),
)
assert_eq(addr.length(), 60)
assert_true(addr.has_suffix(".b32.i2p"))
let summary = @moon_i2p.demo_summary()
assert_true(summary.contains("moon-i2p v0.1.0"))
assert_true(summary.contains(".b32.i2p"))
}