We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Beta
4.0
utest
src/Solution.hx
class Example { public static function add(a:Int, b:Int):Int { return a + b; } }
tests/SolutionTest.hx
import utest.Assert; import Solution; class SolutionTest extends utest.Test { function testExample() { Assert.equals(2, Example.add(1, 1)); } }
The name of the test class must be SolutionTest.
SolutionTest
The optional preloaded code is a separate module (src/Preloaded.hx) that you can import.
src/Preloaded.hx
12 seconds
None
haxe
content-issues