Imported.hx 397 B

1234567891011
  1. import RootModWithStatic;
  2. import pack.ModWithStatic;
  3. import utest.Assert;
  4. class Imported extends utest.Test {
  5. function test() {
  6. Assert.equals("pack.ModWithStatic.TheStatic function", ModWithStatic.TheStatic());
  7. Assert.equals("RootModWithStatic.TheStatic function", RootModWithStatic.TheStatic());
  8. Assert.equals("pack.TheStatic", Type.getClassName(TheStatic));
  9. }
  10. }