source:
CIVL/mods/dev.civl.com/examples/library/pointer/simpleAssertEqualsFail.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 185 bytes | |
| Line | |
|---|---|
| 1 | #include <pointer.cvh> |
| 2 | |
| 3 | int main() { |
| 4 | int val1 = 3; |
| 5 | int val2 = 4; |
| 6 | int * a = &val1; |
| 7 | int * b = &val2; |
| 8 | |
| 9 | $assert_equals(a, b, "%d and %d are not equal!\n", *a, *b); |
| 10 | |
| 11 | return 0; |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
