Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
structs
/
struct_empty_auto_eq_test.v
17
lines
·
14
sloc
·
195 bytes
·
a186e445c73d3005220c440df35cc0c47d9cec12
Raw
1
module
main
2
3
struct
Example {}
4
5
struct
Components {
6
example map[string]Example
7
}
8
9
fn
test_main() {
10
a := Components{}
11
b := Components{}
12
if
a == b {
13
assert
true
14
}
else
{
15
assert
false
16
}
17
}
18