mirror of https://github.com/deavmi/doap
Merge branch 'master' into feature/exchange_lifetime
This commit is contained in:
commit
506a9bb554
|
@ -121,6 +121,23 @@ unittest
|
|||
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
version(LittleEndian)
|
||||
{
|
||||
ushort i = 1;
|
||||
writeln("Pre-order: ", i);
|
||||
ushort ordered = order(i, Order.BE);
|
||||
writeln("Post-order: ", ordered);
|
||||
assert(ordered == 256);
|
||||
}
|
||||
else version(BigEndian)
|
||||
{
|
||||
// TODO: Add this AND CI tests for it
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the given value is present in
|
||||
* the given array
|
||||
|
|
Loading…
Reference in New Issue