Enchantrix/pkg/crypt
google-labs-jules[bot] d5ae9a44e1 feat: Implement Good, Bad, and Ugly testing strategy
This commit refactors the test suites for the `crypt` and `trix` packages to follow the Good, Bad, and Ugly testing strategy.

- `_Good` tests cover the ideal "happy path" scenarios.
- `_Bad` tests cover expected failure scenarios with well-formed but invalid inputs.
- `_Ugly` tests cover malicious or malformed inputs designed to cause crashes or panics.

This new testing structure makes the test suite more organized, comprehensive, and robust.

Additionally, this commit includes a bug fix for the `Luhn` function, which now correctly handles empty and single-digit strings.
2025-10-31 02:03:33 +00:00
..
std feat: Implement Good, Bad, and Ugly testing strategy 2025-10-31 02:03:33 +00:00
crypt.go feat: Implement Good, Bad, and Ugly testing strategy 2025-10-31 02:03:33 +00:00
crypt_test.go feat: Implement Good, Bad, and Ugly testing strategy 2025-10-31 02:03:33 +00:00