1// PKGPATH: gno.land/r/demo/groups_test
2package groups_test
3
4// SEND: 200000000ugnot
5
6import (
7 "gno.land/r/demo/groups"
8 "gno.land/r/demo/users"
9)
10
11var gid groups.GroupID
12
13func main() {
14 users.Register("", "gnouser", "my profile")
15 gid = groups.CreateGroup("test_group")
16 println(gid)
17 groups.DeleteGroup(gid)
18 println(groups.Render(""))
19}
20
21// Output:
22// 1
23// List of all Groups:
z_2_e_filetest.gno
0.37 Kb ยท 23 lines