Tree (unittests)

- Moved import
This commit is contained in:
Tristan B. Velloza Kildaire 2024-04-27 17:16:31 +02:00
parent 1caf6eaf10
commit ba4eb499ab
1 changed files with 10 additions and 12 deletions

View File

@ -19,6 +19,16 @@ version(unittest)
import std.stdio : writeln;
}
version(unittest)
{
import std.functional : toDelegate;
private void DebugTouch(T)(Tree!(T) node)
{
writeln("Touching tree node ", node);
}
}
/**
* Represents an entry of
* some value of type `V`
@ -820,18 +830,6 @@ public class Tree(T)
}
}
version(unittest)
{
import std.functional : toDelegate;
import std.stdio : writeln;
private void DebugTouch(T)(Tree!(T) node)
{
writeln("Touching tree node ", node);
}
}
/**
* Test out usage of the tree
*/