view test.mtt @ 10:4c3575400769

DefaultData largely rewritten with unittest, SDL input event handling completed with unittest, changes to Init threading. Init threads now catch own exceptions. Doc: assigned some inputID devisions. Added support for remaining SDL events. Input axes' output is now stored with a short instead of a real. Input unittest written (for SDL event handling). Rewrote most of mde.mergetag.defaultdata using generic programming to generate read & write rules for all types. As a direct result, defaultdata can now write properly. DefaultData unittest written (also provides testing for mergetag read/write). Moved mde.text.parse/format to tango.scrapple.text.convert.parseTo/parseFrom with many changes. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 18 Feb 2008 11:54:56 +0000
parents 9a990644948c
children
line wrap: on
line source

{MT01}
{11}
<int|=0xD>
{13}
<int|5=5>
<int[]|5=[5, 4 , -3,-2 ,1]>
<byte|7=0>
<ubyte|0=255>
<byte[]|5= [ 2 , -1 , -127, 127, -127,127,0 ] >
{1}!{Binary}
<binary|1=0051B4F6 >
<ubyte[]|2= [2,0,250,5]>
<binary|3=00102030405060708090A0B0C0D0E0F0>
{2}!{Chars and strings}
<char|1= '.'>
<char | 2 ='\a'>
<string|1= "A	sequence of\tcharacters:\v1²€ç⋅−+↙↔↘,↕">
<string|2= [ '"', 's','t' ,'r'	,	'i' , 'n' , 'g', ' ' , '2', '\'' ]>
{11}
<int|5=6>