// 29.ck : test class X{ 1 => int x; // fun void foo()// {// 2 => x;// } // fun void setTestID( int id )// { <<< id + 1 >>>;// }} <<< "this test is apparently broken.", "" >>>;me.exit(); X x;x.testID( 3 );x.testStatic( 2 ); //2 => x.m_testID;<<< x.m_testID >>>; //<<<x.getTestID()>>>;machine.status();if( x.m_testID == 3 ) <<<"success">>>;//<<<Math.sin( 1.0 )>>>;//<<<Std.rand2f( 30.0, 1000.0 )>>>;
// 29.ck : test
class X
{
1 => int x;
// fun void foo()
// {
// 2 => x;
// }
// fun void setTestID( int id )
// { <<< id + 1 >>>;
// }
}
<<< "this test is apparently broken.", "" >>>;
me.exit();
X x;
x.testID( 3 );
x.testStatic( 2 );
//2 => x.m_testID;
<<< x.m_testID >>>;
//<<<x.getTestID()>>>;
machine.status();
if( x.m_testID == 3 ) <<<"success">>>;
//<<<Math.sin( 1.0 )>>>;
//<<<Std.rand2f( 30.0, 1000.0 )>>>;