Содержание
- 2. Generating Prime Factors. Although quite short, this kata is fascinating in the way it shows how
- 3. The Requirements. Write a class named “PrimeFactors” that has one static method: generate. The generate method
- 4. Begin. Create a project named PrimeFactors Create a package named primeFactors Create a unit test named
- 5. The first test. package primeFactors; import junit.framework.TestCase; public class PrimeFactorsTest extends TestCase { public void testOne()
- 6. The first test. package primeFactors; import junit.framework.TestCase; import java.util.List; public class PrimeFactorsTest extends TestCase { public
- 7. The first test. package primeFactors; import junit.framework.TestCase; import java.util.List; public class PrimeFactorsTest extends TestCase { public
- 8. The first test. package primeFactors; import junit.framework.TestCase; import java.util.List; public class PrimeFactorsTest extends TestCase { public
- 9. The first test. package primeFactors; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends TestCase { public
- 10. The first test. package primeFactors; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends TestCase { private
- 11. The Second Test
- 12. The Second test. package primeFactors; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends TestCase { private
- 13. The Second test. package primeFactors; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends TestCase { private
- 14. The Second test. package primeFactors; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends TestCase { private
- 15. The Second test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 16. The Third Test
- 17. The Third test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 18. The Third test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 19. The Fourth Test
- 20. The Fourth test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 21. The Fourth test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 22. The Fifth Test
- 23. The Fifth test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 24. The Sixth Test
- 25. The Sixth test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 26. The Sixth test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 27. The Seventh Test
- 28. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 29. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 30. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 31. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 32. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 33. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 34. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 35. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 36. The Seventh test. package primeFactors; import static primeFactors.PrimeFactors.generate; import junit.framework.TestCase; import java.util.*; public class PrimeFactorsTest extends
- 38. Скачать презентацию