Created
November 6, 2013 23:43
-
-
Save meaganewaller/7346296 to your computer and use it in GitHub Desktop.
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 com.kata.junit; | |
import org.junit.Before; | |
import org.junit.Test; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class PrimeFactorsTest { | |
private PrimeFactors primeFactors; | |
@Before | |
pubic void setUp() throws Exception { | |
primeFactors = new PrimeFactors(); | |
} | |
@Test | |
public void oneGeneratesEmptyList() throws Exception { | |
List actualResult = primeFactors.generate(1) | |
ArrayList expectedResult = new ArrayList<Integer>(); | |
assertEquals(actualResult, expectedResult); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment