k_test.php 268 B

1234567891011
  1. <?php
  2. use PHPUnit\Framework\TestCase;
  3. require_once __DIR__ . "/k.php";
  4. class BubblesortOnceTest extends TestCase {
  5. public function testExample() {
  6. $this->assertEquals(array(7, 5, 3, 1, 2, 4, 6, 8, 9), bubblesort_once(array(9, 7, 5, 3, 1, 2, 4, 6, 8)));
  7. }
  8. }