mirror of
https://github.com/deavmi/doap
synced 2024-07-04 15:10:11 +02:00
Utils
- Added missing documentation
This commit is contained in:
parent
edbea382bd
commit
21cc370c14
|
@ -131,6 +131,9 @@ public bool isPresent(T)(T[] array, T value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tests the `isPresent!(T)(T[], T)` function
|
||||||
|
*/
|
||||||
unittest
|
unittest
|
||||||
{
|
{
|
||||||
ubyte[] values = [1,2,3];
|
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
|
unittest
|
||||||
{
|
{
|
||||||
ubyte[] values = [1,2,3];
|
ubyte[] values = [1,2,3];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user