• Home
  • Raw
  • Download

Lines Matching refs:assertions

9 - Unity is mainly a rich collection of assertions and the support to gather up
10 and easily execute those assertions.
11 - The structure of Unity allows you to easily separate test assertions from
13 - Unity's assertions:
22 One way to think of Unity is simply as a rich collection of assertions you can
24 Unity provides a framework to easily organize and execute those assertions in
30 At their core, assertions are an establishment of truth - boolean truth. Was this
55 That's what Unity's collection of assertions do - capture context to give you
56 helpful, meaningful assertion failure messages. In fact, the assertions
81 marked as an optional parameter because some assertions only need a single
85 Many of Unity's assertions are clear duplications in that the same data type
86 is handled by several assertions. The differences among these are in how failure
93 _All_ assertions are complemented with a variant that includes a simple string
120 assertions (see below) might be a handy alternative to `sprintf`.
125 Unity provides a collection of assertions for arrays containing a variety of
128 type assertion you can tack on `_ARRAY` and run assertions on an entire block of
141 - The `_MESSAGE` variant convention still applies here to array assertions. The
142 `_MESSAGE` variants of the `_ARRAY` assertions have names ending with
145 and double assertions (see immediately following section).
150 Unity provides a collection of assertions for arrays containing a variety of
154 can inject `_EACH_EQUAL` and run assertions on an entire block of memory.
167 - The `_MESSAGE` variant convention still applies here to Each Equal assertions.
169 float and double assertions (see immediately following section).
223 Marks a test case (i.e. function meant to contain test assertions) as ignored.
225 An ignored test case has effects if other assertions are in the enclosing test
294 All `_HEX` assertions are identical in function to unsigned integer assertions
311 While you can use the 8-bit integer assertions to compare `char`, another option is
320 Masked and bit-level assertions produce output formatted in hexadecimal. Unity
350 These assertions verify that the `actual` parameter is less than or greater
352 greater than assertion will fail if it is 0 or less. There are assertions for
353 all the various sizes of ints, as for the equality assertions. Some examples:
368 These assertions verify that the `expected` parameter is within +/- `delta`
432 `_HEX` assertions produce failure messages with expected and actual array
483 These assertions verify that the `expected` array parameter is within +/- `delta`
525 `_HEX` assertions produce failure messages with expected and actual array
731 ### How do the EQUAL assertions work for FLOAT and DOUBLE?
767 assertions less strict, you can change these multipliers to whatever you like by
825 2. You're going to have to be careful of assertions that perform signed
826 operations, particularly `TEST_ASSERT_INT_WITHIN`.Such assertions might wrap