[ scummvm-Patches-2735283 ] A few unit tests for Common::Rect

SourceForge.net noreply at sourceforge.net
Sun Apr 5 22:39:38 CEST 2009


Patches item #2735283, was opened at 2009-04-05 22:39
Message generated for change (Tracker Item Submitted) made by vezoofae
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2735283&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michal Janeczek (vezoofae)
Assigned to: Nobody/Anonymous (nobody)
Summary: A few unit tests for Common::Rect

Initial Comment:
A bunch of tests.

A failing, but commented out assertion is included because
of the the extend() function comment:

/**
  * Extend this rectangle so that it contains r
  * @param r the rectangle to extend by
  */

It suggests that r1.contain(r2) will be true after r1.extend(r2) is called, but this is not the case.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2735283&group_id=37116




More information about the Scummvm-tracker mailing list