From 9ac63aac0cb025d1de195dbc57d0c89ebd1d7cc5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 5 Nov 2025 01:42:42 +0900 Subject: [PATCH] hst/grp_pwd: add extra test cases Does not change coverage but this helps me crosscheck with my phone. Signed-off-by: Ophestra --- hst/grp_pwd_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hst/grp_pwd_test.go b/hst/grp_pwd_test.go index 2d01c12..c482f5f 100644 --- a/hst/grp_pwd_test.go +++ b/hst/grp_pwd_test.go @@ -20,6 +20,9 @@ func TestUIDString(t *testing.T) { {hst.IsolatedStart + hst.IdentityStart, "u0_i0"}, // isolatedStart {(hst.RangeSize-1)*hst.UserOffset + hst.IsolatedEnd, "u9999_i9999"}, // isolatedEnd + {hst.ToUser[uint32](10, 127), "u10_a127"}, + {hst.ToUser[uint32](11, 127), "u11_a127"}, + {0, "0"}, // out of bounds } for _, tc := range testCases {