
Write the body of the Boolean function Satisfies_Ordering_Property which returns true if and only if the given binary tree of integer, t, satisfies the heap ordering property. (Note that this says nothing about the shape of the tree.) Assume that ARE_IN_ORDER is defined to be the usual <= relation on integers.
global_function Boolean Satisfies_Ordering_Property (
preserves Binary_Tree_Of_Integer& t
);
/*!
ensures
Satisfies_Ordering_Property =
[t satisfies the heap ordering property]
!*/