source:
src/tests/avltree/avl0.c@
28f3a19
| Last change on this file since 28f3a19 was 627f585, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 185 bytes | |
| Rev | Line | |
|---|---|---|
| [6e3ae00] | 1 | #include "avl.h" |
| 2 | ||
| 3 | forall(otype T | Comparable(T)) | |
| 4 | int ?==?(T t1, T t2) { | |
| 5 | return !(t1 < t2) && !(t2 < t1); | |
| 6 | } | |
| 7 | ||
| 8 | forall(otype T | Comparable(T)) | |
| 9 | int ?>?(T t1, T t2) { | |
| 10 | return t2 < t1; | |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.