src/test/01-Basic/29.ck.disabled
raw| 1 | // 29.ck : test |
| 2 | |
| 3 | class X |
| 4 | { |
| 5 | 1 => int x; |
| 6 | |
| 7 | // fun void foo() |
| 8 | // { |
| 9 | // 2 => x; |
| 10 | // } |
| 11 | |
| 12 | // fun void setTestID( int id ) |
| 13 | // { <<< id + 1 >>>; |
| 14 | // } |
| 15 | } |
| 16 | |
| 17 | <<< "this test is apparently broken.", "" >>>; |
| 18 | me.exit(); |
| 19 | |
| 20 | X x; |
| 21 | x.testID( 3 ); |
| 22 | x.testStatic( 2 ); |
| 23 | |
| 24 | //2 => x.m_testID; |
| 25 | <<< x.m_testID >>>; |
| 26 | |
| 27 | //<<<x.getTestID()>>>; |
| 28 | machine.status(); |
| 29 | if( x.m_testID == 3 ) <<<"success">>>; |
| 30 | //<<<Math.sin( 1.0 )>>>; |
| 31 | //<<<Std.rand2f( 30.0, 1000.0 )>>>; |