Utility functions for comparing drawables and views by rendering them to bitmaps.
Draws both drawables to Bitmaps and compares them for equality.
Compares a view's rendered output to a drawable.