Example #1
0
 /**
  * @dataProvider dgtP
  */
 public function testGraphOverwrite($old, $new, $expect)
 {
     $buf = new Buffer();
     $buf->draw(0, 0, $old);
     $buf->overwrite(0, 0, $new);
     list($actual) = $buf->export(0, 0, 1, 1);
     $this->assertEquals($new, $actual);
 }