Adds the possibility to serialize a battle state for saving it

This commit is contained in:
Vassyli
2017-09-22 13:37:54 +02:00
parent a287313f6f
commit 94763f8d6e
3 changed files with 64 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class DiceBagTests extends \PHPUnit_Framework_TestCase
$value = $db->dice(1, 6);
$this->assertGreaterThanOrEqual(1, $value);
$this->assertLessThanOrEqual(6, $value);
$value = $db->dice(5, 5);
$this->assertSame(5, $value);