Add table of contents

This commit is contained in:
Martin Moene authored and Martin Hořeňovský committed 2017-08-29 17:25:24 +02:00
1 parent c5553019cc
commit 07211cea9c
5 files changed
+54

No files matched your search

+6
View File
@@ -1,6 +1,12 @@
<a id="top"></a>
# Assertion Macros
**Contents**
[Natural Expressions](#natural-expressions)
[Exceptions](#exceptions)
[Matcher expressions](#matcher-expressions)
[Thread Safety](#thread-safety)
Most test frameworks have a large collection of assertion macros to capture all possible conditional forms (```_EQUALS```, ```_NOTEQUALS```, ```_GREATER_THAN``` etc).
Catch is different. Because it decomposes natural C-style conditional expressions most of these forms are reduced to one or two that you will use all the time. That said there are a rich set of auxilliary macros as well. We'll describe all of these here.