Created
September 29, 2012 07:55
-
-
Save shostakovich/3803457 to your computer and use it in GitHub Desktop.
Prime factor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe PrimeFactorDecomposer do | |
include PrimeFactorDecomposer | |
it "returns no prime factors for 1" do | |
decompose(1).should be_empty | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment