Commit 43e6cd52 authored by layla.halaoua's avatar layla.halaoua

first

parent ab655e18
...@@ -2,11 +2,11 @@ import java.util.ArrayList; ...@@ -2,11 +2,11 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import junit.framework.TestCase; import junit.framework.TestCase;
public class Test extends TestCase{ public class MainTest extends TestCase{
public static void main(String[] args) { public void testMain() {
List<Integer> primes = new ArrayList<>(); List<Integer> primes = new ArrayList<>();
List<Thread> threads = new ArrayList<>(); List<Thread> threads = new ArrayList<>();
int numberOfThreads = 12; int numberOfThreads = 10;
int maxNumber = 100000000; int maxNumber = 100000000;
long startTime = System.currentTimeMillis(); long startTime = System.currentTimeMillis();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment