Merge commit '289e516fe3d91b935e74c29e698d0d06815efd0d' as 'projects/tink_syntaxhub'
This commit is contained in:
19
projects/tink_syntaxhub/tests/Main.hx
Normal file
19
projects/tink_syntaxhub/tests/Main.hx
Normal file
@@ -0,0 +1,19 @@
|
||||
package;
|
||||
import haxe.unit.TestCase;
|
||||
import haxe.unit.TestRunner;
|
||||
|
||||
class Main extends TestCase {
|
||||
|
||||
function testTxt()
|
||||
assertEquals('Hello, hello!!!', HelloWorld.TEXT);
|
||||
|
||||
function testXml()
|
||||
assertEquals('<3', HelloWorld.XML.firstElement().firstChild().nodeValue);
|
||||
|
||||
static function main() {
|
||||
var t = new TestRunner();
|
||||
t.add(new Main());
|
||||
t.run();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user