Mercurial > hg > audiodb
annotate bindings/as3/src/Main.as @ 765:337e72088f76
Fix for some sample bugs
a + b ? c : d does not do what I think it does. That bug mostly masked
a thorough logic error in building the table of counts of possible sequences;
there was too much cumulativeness.
There apparently remain problems
author | mas01cr |
---|---|
date | Thu, 02 Jun 2011 16:31:35 +0000 |
parents | 3a0b9700b3d2 |
children |
rev | line source |
---|---|
mas01mj@732 | 1 package |
mas01mj@732 | 2 { |
mas01mj@732 | 3 import asunit.textui.TestRunner; |
mas01mj@732 | 4 import asunit.textui.XMLResultPrinter; |
mas01mj@732 | 5 |
mas01mj@732 | 6 import tests.AllTests; |
mas01mj@732 | 7 |
mas01mj@732 | 8 import flash.display.Sprite; |
mas01mj@732 | 9 |
mas01mj@732 | 10 /** |
mas01mj@732 | 11 * @author mikej |
mas01mj@732 | 12 */ |
mas01mj@732 | 13 public class Main extends Sprite |
mas01mj@732 | 14 { |
mas01mj@732 | 15 public function Main() |
mas01mj@732 | 16 { |
mas01mj@732 | 17 var unittests : TestRunner = new TestRunner(); |
mas01mj@732 | 18 stage.addChild(unittests); |
mas01mj@732 | 19 unittests.start(tests.AllTests, null, TestRunner.SHOW_TRACE); |
mas01mj@732 | 20 } |
mas01mj@732 | 21 } |
mas01mj@732 | 22 } |