// PKGPATH: gno.land/r/demo/groups_test package groups_test // SEND: 1000000ugnot import ( "std" "testing" "gno.land/r/demo/groups" users "gno.land/r/gnoland/users/v1" ) var gid groups.GroupID func main() { testing.SetRealm(std.NewUserRealm(std.Address("g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"))) // so that CurrentRealm.Addr() matches OrigCaller users.Register("gnouser123") gid = groups.CreateGroup("test_group") println(gid) groups.DeleteGroup(gid) println(groups.Render("")) } // Output: // 1 // List of all Groups: // //