Skip to content

Commit

Permalink
Renamed test
Browse files Browse the repository at this point in the history
  • Loading branch information
drug007 committed Feb 11, 2024
1 parent 626d026 commit f4fa3bc
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions auxil/source/auxil/test2d.d
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct RelativeMeasurer
}
}

version(unittest) @Name("horizontal")
version(unittest) @Name("horizontal.TrivialAggregate")
@safe
unittest
{
Expand All @@ -102,7 +102,6 @@ unittest
model.orientation = Orientation.Horizontal;
model.collapsed = false;


// measure size
{
auto mv = MeasuringVisitor(32, 9);
Expand All @@ -113,26 +112,4 @@ unittest
model.i.size.should.be == 33;
model.f.size.should.be == 33;
model.size.should.be == 99;

import std;
writeln(model);
auto visitor = RelativeMeasurer();
visitor.posX = 0;
visitor.posY = 0;
model.traversalForward(data, visitor);
import std;
writeln(model);

() @trusted
{
visitor.output[].each!writeln;
} ();

version(none) () @trusted
{
import core.stdc.stdio : printf;
visitor.output[$-1] = 0;
printf("---\n%s\n---\nlength: %ld\n",
visitor.output[].ptr, visitor.output.length);
} ();
}

0 comments on commit f4fa3bc

Please sign in to comment.