Fix documentation for module: Core

Former-commit-id: 5f47321109e66e3961a09c4a2394335c4868453f
This commit is contained in:
Gawaboumga
2016-05-30 14:09:51 +02:00
parent 406bebe717
commit 7721fd2284
11 changed files with 421 additions and 25 deletions

View File

@@ -32,12 +32,22 @@ SCENARIO("File", "[CORE][FILE]")
REQUIRE(Nz::String(message) == "Test String");
}
AND_THEN("We can get its size")
{
REQUIRE(file.GetSize() == 33U);
}
AND_THEN("We close it")
{
file.Close();
REQUIRE(file.GetSize() == 33U);
CHECK(!file.IsOpen());
}
AND_THEN("Change its size")
{
file.SetSize(50U);
REQUIRE(file.GetSize() == 50U);
}
}
WHEN("We delete this file")