Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Add tests for Testbench constants
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnzlml committed Jul 24, 2016
1 parent c16a9cb commit bfb65ac
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/Testbench.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace Tests;

use Tester\Assert;

require __DIR__ . '/bootstrap.php';

/**
* @testCase
*/
class Testbench extends \Tester\TestCase
{

public function testConstants()
{
Assert::same(0, \Testbench::QUICK);
Assert::same(5, \Testbench::FINE);
Assert::same(10, \Testbench::SLOW);
}

}

(new Testbench)->run();

0 comments on commit bfb65ac

Please sign in to comment.