mirror of
https://github.com/dlang/phobos.git
synced 2025-05-14 17:05:58 +03:00
update makefile
This commit is contained in:
parent
f052f150bd
commit
780c29f18a
9 changed files with 123 additions and 75 deletions
|
@ -130,7 +130,7 @@ body
|
|||
}
|
||||
else
|
||||
{
|
||||
foreach (i; 0 .. a.length)
|
||||
for (int i = 0; i < a.length; i++)
|
||||
a[i] = b[i] + c[i];
|
||||
}
|
||||
return a;
|
||||
|
@ -173,7 +173,7 @@ unittest
|
|||
T[dim] b;
|
||||
T[dim] c;
|
||||
|
||||
foreach (i; 0 .. dim)
|
||||
for (int i = 0; i < dim; i++)
|
||||
{ a[i] = i;
|
||||
b[i] = i + 7;
|
||||
c[i] = i * 2;
|
||||
|
@ -181,7 +181,7 @@ unittest
|
|||
|
||||
c[] = a[] + b[];
|
||||
|
||||
foreach (i; 0 .. dim)
|
||||
for (int i = 0; i < dim; i++)
|
||||
{
|
||||
assert(c[i] == a[i] + b[i]);
|
||||
}
|
||||
|
@ -301,7 +301,7 @@ body
|
|||
}
|
||||
else
|
||||
{
|
||||
foreach (i; 0 .. a.length)
|
||||
for (int i = 0; i < a.length; i++)
|
||||
a[i] = b[i] - c[i];
|
||||
}
|
||||
return a;
|
||||
|
@ -319,7 +319,7 @@ unittest
|
|||
|
||||
c[] = a[] - b[];
|
||||
|
||||
foreach (i; 0 .. c.length)
|
||||
for (int i = 0; i < c.length; i++)
|
||||
{
|
||||
assert(c[i] == a[i] - b[i]);
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ unittest
|
|||
|
||||
c[] = a[] - b[];
|
||||
|
||||
foreach (i; 0 .. c.length)
|
||||
for (int i = 0; i < c.length; i++)
|
||||
{
|
||||
assert(c[i] == a[i] - b[i]);
|
||||
}
|
||||
|
@ -342,7 +342,7 @@ unittest
|
|||
T[dim] b;
|
||||
T[dim] c;
|
||||
|
||||
foreach (i; 0 .. dim)
|
||||
for (int i = 0; i < dim; i++)
|
||||
{ a[i] = i;
|
||||
b[i] = i + 7;
|
||||
c[i] = i * 2;
|
||||
|
@ -350,7 +350,7 @@ unittest
|
|||
|
||||
c[] = a[] - b[];
|
||||
|
||||
foreach (i; 0 .. dim)
|
||||
for (int i = 0; i < dim; i++)
|
||||
{
|
||||
assert(c[i] == a[i] - b[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue