Skip to content

Instantly share code, notes, and snippets.

@event15
Last active January 15, 2016 10:48
Show Gist options
  • Save event15/d5170a0dd29bf0af6741 to your computer and use it in GitHub Desktop.
Save event15/d5170a0dd29bf0af6741 to your computer and use it in GitHub Desktop.
Test pierwszy - dla 1 powinna być pusta tablica
<?php
namespace spec\Kata;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class PrimeFactorsSpec extends ObjectBehavior
{
public function it_return_empty_array_for_1()
{
$this->factorize(1)->shouldReturn([]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment