Skip to content

Commit

Permalink
Going to zero or to infinity? #25
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenExe committed Mar 15, 2017
1 parent 5db6e8f commit dc834a2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/GoingTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace ReenExe\CodewarsPHP\Tests;

use PHPUnit\Framework\TestCase;

class GoingTest extends TestCase
{
public function testBasics()
{
$this->assertEquals(1.275, going(5));
$this->assertEquals(1.2125, going(6));
$this->assertEquals(1.173214, going(7));
$this->assertEquals(1.146651, going(8));
}
}

0 comments on commit dc834a2

Please sign in to comment.