[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] gravity.swf automated testing
From: |
strk |
Subject: |
[Gnash-dev] gravity.swf automated testing |
Date: |
Thu, 2 Nov 2006 15:09:07 +0100 |
I've prepared an automatic testing for our gravity-embedded.swf
movie. It works nicely in checkin the textarea scale text
comparing it with the expected value, but when really getting
the _xscale and _yscale members of the character I get an
"unrounded" value:
PASSED: string(text->get_text_value()) == 44
PASSED: const_cast<character*>(loaded)->get_member("_xscale", &tmp)
FAILED: tmp == '43.999999761581' (expected: 44)
Should we return the "rounded" value directly from the _x member
getter instead, or also: does gravity-embed.swf contain any
*rounding* ActionScript code ?
--strk;
/"\ ASCII Ribbon Campaign
\ / Respect for low technology.
X Keep e-mail messages readable by any computer system.
/ \ Keep it ASCII.
- [Gnash-dev] gravity.swf automated testing,
strk <=
- Re: [Gnash-dev] gravity.swf automated testing, Udo Giacomozzi, 2006/11/02
- Re[2]: [Gnash-dev] gravity.swf automated testing, Udo Giacomozzi, 2006/11/02
- Re: [Gnash-dev] gravity.swf automated testing, strk, 2006/11/02
- Re[2]: [Gnash-dev] gravity.swf automated testing, Udo Giacomozzi, 2006/11/02
- Re: [Gnash-dev] gravity.swf automated testing, strk, 2006/11/02
- Re[2]: [Gnash-dev] gravity.swf automated testing, Udo Giacomozzi, 2006/11/02
- Re: [Gnash-dev] gravity.swf automated testing, strk, 2006/11/02
- Re[2]: [Gnash-dev] gravity.swf automated testing, Udo Giacomozzi, 2006/11/03