Перенос страниц
This commit is contained in:
parent
4d57446057
commit
4c954c9186
129 changed files with 14 additions and 15 deletions
|
@ -0,0 +1,14 @@
|
|||
import std.math;
|
||||
|
||||
class Test
|
||||
{
|
||||
double a = 0.4;
|
||||
double b;
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
// Объект создается с помощью выражения new
|
||||
auto t = new Test;
|
||||
assert(t.a == 0.4 && isNaN(t.b));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue