Check out example codes for "assert.areequal with message". It will help you in understanding the concepts better.
Code Example 1
[TestMethod]
public void Test()
{
Assert.AreEqual(true, false, "Failed on the following test case: AB");
}
Learn ReactJs, React Native from akashmittal.com