dfmt/tests/knr/issue0112.d.ref

14 lines
477 B
Plaintext

unittest {
testScene = new Scene("TestScene : Test", sceneDescriptions["TestScene"],
connectDescriptions["TestScene"], delegate(Scene scene) {
import std.stdio;
if (!scene.alreadyEntered) {
fwriteln(
"This is a test. This is a test. This is a test. This is a test. This is a test. Test12.");
auto p = cast(Portal) sceneManager.previousScene;
scene.destroyCurrentScript();
}
});
}