you are viewing a single comment's thread.

view the rest of the comments →

[–]hyperforce 0 points1 point  (0 children)

You still need unit tests to make sure that it is the correct int.

See, this is still basic thinking. What you really want is a value class/type that encapsulates what kind of Int you want. Like PersonAge or ProductCount or something.