Author: max
Date: 2007-09-15 11:20:53 -0700 (Sat, 15 Sep 2007)
New Revision: 6493
Modified:
openlaszlo/branches/legals/test/lfc/lzunit-lzutils.lzx
Log:
+ update testcase to pass
Modified: openlaszlo/branches/legals/test/lfc/lzunit-lzutils.lzx
===================================================================
--- openlaszlo/branches/legals/test/lfc/lzunit-lzutils.lzx 2007-09-15
17:48:12 UTC (rev 6492)
+++ openlaszlo/branches/legals/test/lfc/lzunit-lzutils.lzx 2007-09-15
18:20:53 UTC (rev 6493)
@@ -8,12 +8,12 @@
<TestSuite>
<TestCase>
<method name="testdectohex">
- assertEquals('FFFF', LzUtils.dectohex(0xffff), "Convert to hex");
- assertEquals('D', LzUtils.dectohex(13), "Convert to hex");
+ assertEquals('ffff', LzUtils.dectohex(0xffff), "Convert to hex");
+ assertEquals('d', LzUtils.dectohex(13), "Convert to hex");
</method>
<method name="testcolorconversion">
- assertEquals('#FFFF00', LzUtils.color.inttohex(0xffff00), "Convert
to hex");
- assertEquals('#0005F3', LzUtils.color.inttohex(1523), "Convert to
hex");
+ assertEquals('#ffff00', LzUtils.color.inttohex(0xffff00), "Convert
to hex");
+ assertEquals('#0005f3', LzUtils.color.inttohex(1523), "Convert to
hex");
assertEquals(1523, LzUtils.color.hextoint('#0005F3'), "Convert to
decimal");
assertEquals(14540253, LzUtils.color.hextoint('#DdD'), "Convert to
decimal");
assertEquals(0xffff00, LzUtils.color.hextoint('#ffff00'), "Convert
to decimal");
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins