mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 07:00:37 +03:00
Remove debug writelns
This commit is contained in:
parent
23c4f0f9a9
commit
b5ffc889ca
1 changed files with 0 additions and 12 deletions
|
@ -554,8 +554,6 @@ body
|
||||||
|
|
||||||
@safe unittest
|
@safe unittest
|
||||||
{
|
{
|
||||||
debug(std_algorithm) scope(success)
|
|
||||||
writeln("unittest @", __FILE__, ":", __LINE__, " done.");
|
|
||||||
int a = 1;
|
int a = 1;
|
||||||
short b = 6;
|
short b = 6;
|
||||||
double c = 2;
|
double c = 2;
|
||||||
|
@ -868,9 +866,6 @@ range of range (of range...) comparisons.
|
||||||
import std.internal.test.dummyrange : ReferenceForwardRange,
|
import std.internal.test.dummyrange : ReferenceForwardRange,
|
||||||
ReferenceInputRange, ReferenceInfiniteForwardRange;
|
ReferenceInputRange, ReferenceInfiniteForwardRange;
|
||||||
|
|
||||||
debug(std_algorithm) scope(success)
|
|
||||||
writeln("unittest @", __FILE__, ":", __LINE__, " done.");
|
|
||||||
|
|
||||||
// various strings
|
// various strings
|
||||||
assert(equal("æøå", "æøå")); //UTF8 vs UTF8
|
assert(equal("æøå", "æøå")); //UTF8 vs UTF8
|
||||||
assert(!equal("???", "æøå")); //UTF8 vs UTF8
|
assert(!equal("???", "æøå")); //UTF8 vs UTF8
|
||||||
|
@ -1335,8 +1330,6 @@ if (isForwardRange!(Range1) && isForwardRange!(Range2))
|
||||||
|
|
||||||
@safe unittest
|
@safe unittest
|
||||||
{
|
{
|
||||||
debug(std_algorithm) scope(success)
|
|
||||||
writeln("unittest @", __FILE__, ":", __LINE__, " done.");
|
|
||||||
assert(levenshteinDistance("a", "a") == 0);
|
assert(levenshteinDistance("a", "a") == 0);
|
||||||
assert(levenshteinDistance("a", "b") == 1);
|
assert(levenshteinDistance("a", "b") == 1);
|
||||||
assert(levenshteinDistance("aa", "ab") == 1);
|
assert(levenshteinDistance("aa", "ab") == 1);
|
||||||
|
@ -1422,8 +1415,6 @@ if (T.length >= 2)
|
||||||
|
|
||||||
@safe unittest
|
@safe unittest
|
||||||
{
|
{
|
||||||
debug(std_algorithm) scope(success)
|
|
||||||
writeln("unittest @", __FILE__, ":", __LINE__, " done.");
|
|
||||||
int a = 5;
|
int a = 5;
|
||||||
short b = 6;
|
short b = 6;
|
||||||
double c = 2;
|
double c = 2;
|
||||||
|
@ -1586,9 +1577,6 @@ if (isInputRange!(Range1) && isInputRange!(Range2))
|
||||||
|
|
||||||
@safe unittest
|
@safe unittest
|
||||||
{
|
{
|
||||||
debug(std_algorithm) scope(success)
|
|
||||||
writeln("unittest @", __FILE__, ":", __LINE__, " done.");
|
|
||||||
|
|
||||||
int[] a = [ 1, 2, 3 ];
|
int[] a = [ 1, 2, 3 ];
|
||||||
int[] b = [ 1, 2, 4, 5 ];
|
int[] b = [ 1, 2, 4, 5 ];
|
||||||
auto mm = mismatch(a, b);
|
auto mm = mismatch(a, b);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue