add prefix to tests #4

merged
opened by altagos.dev targeting main from push-xmxnlpnsnyqo
Changed files
+5 -5
src
+5 -5
src/Golomb.zig
··· 187 187 return (value & (value - 1)) == 0; 188 188 } 189 189 190 - test "encode val = 42, m = 8" { 190 + test "golomb.encode val = 42, m = 8" { 191 191 const testing = std.testing; 192 192 193 193 var gol = Self{ .m = 8 }; ··· 197 197 try testing.expectEqualSlices(u8, &.{50}, &encoded); 198 198 } 199 199 200 - test "decode val = {50}, m = 8" { 200 + test "golomb.decode val = {50}, m = 8" { 201 201 const testing = std.testing; 202 202 203 203 var gol = Self{ .m = 8 }; ··· 207 207 try testing.expectEqual(42, decoded); 208 208 } 209 209 210 - test "encode + decode val = 1564, m = 457" { 210 + test "golomb.encode + decode val = 1564, m = 457" { 211 211 const testing = std.testing; 212 212 213 213 var gol = Self{ .m = 457 }; ··· 225 225 try testing.expectEqual(input, decoded); 226 226 } 227 227 228 - test "encode multiple val = { 1564, 42 }, m = 457" { 228 + test "golomb.encode multiple val = { 1564, 42 }, m = 457" { 229 229 const testing = std.testing; 230 230 231 231 var gol = Self{ .m = 457 }; ··· 238 238 try testing.expectEqualSlices(u8, &.{ 35, 6, 42 }, &encoded); 239 239 } 240 240 241 - test "decode multiple val = { 35, 6, 8 }, m = 457" { 241 + test "golomb.decode multiple val = { 35, 6, 8 }, m = 457" { 242 242 const testing = std.testing; 243 243 244 244 var gol = Self{ .m = 457 };