assert_ng 0.0.3

An extended assert macro that extends Rust’s built-in assert macro to give better messages on failure.
docs.rs failed to build assert_ng-0.0.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

assert_ng!

This provides an improved assert macro for the Rust programming language, eliminating the need for assert_eq! while also providing equivalents for !=, > and so on.

The basic idea is that if the macro is provided a condition formatted like a == b, it’ll do what assert_eq! does, i.e., print out a and b if the assertion fails. To avoid this functionality, simply surround the condition in parentheses: assert!((a == b)).