- Added missing documentation
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-26 14:42:09 +02:00
parent edbea382bd
commit 21cc370c14

View File

@ -131,6 +131,9 @@ public bool isPresent(T)(T[] array, T value)
}
}
/**
* Tests the `isPresent!(T)(T[], T)` function
*/
unittest
{
ubyte[] values = [1,2,3];
@ -170,6 +173,9 @@ public T findNextFree(T)(T[] used) if(__traits(isIntegral, T))
}
}
/**
* Tests the `findNextFree!(T)(T[])` function
*/
unittest
{
ubyte[] values = [1,2,3];