mirror of https://github.com/deavmi/niknaks
parent
1caf6eaf10
commit
ba4eb499ab
|
@ -19,6 +19,16 @@ version(unittest)
|
||||||
import std.stdio : writeln;
|
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
|
* Represents an entry of
|
||||||
* some value of type `V`
|
* 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
|
* Test out usage of the tree
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue