From 071ba207b4b68d14ee7246a8a0c78b952a6d7746 Mon Sep 17 00:00:00 2001 From: Leonardo Balter Date: Sat, 18 Jan 2014 14:50:07 -0200 Subject: [PATCH] notPropEqual: added documentation Partially fix #14 --- entries/notPropEqual.xml | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 entries/notPropEqual.xml diff --git a/entries/notPropEqual.xml b/entries/notPropEqual.xml new file mode 100644 index 0000000..629c316 --- /dev/null +++ b/entries/notPropEqual.xml @@ -0,0 +1,45 @@ + + + + notPropEqual() + + + Object being tested + + + Known comparison value + + + A short description of the assertion + + + + A strict comparison of an object own properties assertion, checking for inequality. + + +

The notPropEqual assertion uses the strict inverted comparison operator (!==) to compare the actual and expected arguments as Objects regarding only their properties but not their constructors.

+

When they aren't equal, the assertion passes; otherwise, it fails. When it fails, both actual and expected values are displayed in the test result, in addition to a given message.

+

equal() can be used to test equality.

+

propEqual() can be used to test strict equality of an Object properties.

+
+ + Compare the values of two objects properties. + + + +
\ No newline at end of file