Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
fns
/
param_fixed_array_const_test.v
12
lines
·
9
sloc
·
247 bytes
·
6ffc9c94b585912c68a41bc8e981e692f4f7855c
Raw
1
module
main
2
3
import
crypto.ed25519
4
5
fn
new_client_hello(public_key [ed25519.public_key_size]u8) {
6
assert public_key.len == ed25519.public_key_size
7
assert public_key.len != 0
8
}
9
10
fn
test_main() {
11
new_client_hello([ed25519.public_key_size]u8{})
12
}
13