Test things that should work.
// use a function from standard library directly. from.std.stdio.writeln("Hallo"); // assign something from standard library to a local variable. auto _ = from.std.datetime.stopwatch.AutoStart.yes;
Test things that should not work.
auto throws = false; try { from.std.stdio.thisFunctionDoesNotExist("Hallo"); } catch (Exception ex) { throws = true; } try { from.std.stdio.thisFunctionDoesNotExist(42); throws = false; } catch (Exception ex) { throws = true; } assert(throws);
Used as entry point for local imports.