Created
October 24, 2018 07:55
-
-
Save sapanparikh18/02387c83f94061ded441e302c4d55e0b to your computer and use it in GitHub Desktop.
Created with Copy to Gist
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
package primefactors | |
import spock.lang.Specification | |
class PrimeFactorsSpec extends Specification{ | |
def "api to t test nothing"(){ | |
expect: "nothing" == "nothing" | |
} | |
def "API to test prime factors of given integer"(){ | |
expect: "factorsOf(1) will return empty list" | |
factorsOf(1) == [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment