bschaatsbergen / cidr

Simplifies IPv4/IPv6 CIDR network prefix management with counting, overlap checking, explanation, and subdivision.
https://formulae.brew.sh/formula/cidr
MIT License
168 stars 9 forks source link

Added simple test #71

Closed euanwm closed 8 months ago

euanwm commented 8 months ago

Provides full test coverage for the core.go file.

I'll do some more chores and might tackle an issue or two on this project.

bschaatsbergen commented 8 months ago

Hey @euanwm, thanks for contributing. I'll review this PR later today. Your help is very welcome and appreciated 🤘🏼

euanwm commented 8 months ago

@bschaatsbergen I've went slightly further and created a dedicated function test. Means that you should be able to catch errors lower in the code stack.

bschaatsbergen commented 8 months ago

Thanks for your contribution @euanwm 👏. It's very much appreciated and I'm looking forward to future contributions! I'll get this merged as soon as possible.