Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
parallel computing HW1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
layla.halaoua
parallel computing HW1
Commits
43e6cd52
Commit
43e6cd52
authored
Nov 01, 2023
by
layla.halaoua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first
parent
ab655e18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
MainTest.java
src/test/java/MainTest.java
+3
-3
Main.class
target/classes/org/example/Main.class
+0
-0
MainTest.class
target/test-classes/MainTest.class
+0
-0
No files found.
src/test/java/Test.java
→
src/test/java/
Main
Test.java
View file @
43e6cd52
...
@@ -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
Main
Test
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
=
1
2
;
int
numberOfThreads
=
1
0
;
int
maxNumber
=
100000000
;
int
maxNumber
=
100000000
;
long
startTime
=
System
.
currentTimeMillis
();
long
startTime
=
System
.
currentTimeMillis
();
...
...
target/classes/org/example/Main.class
View file @
43e6cd52
No preview for this file type
target/test-classes/MainTest.class
0 → 100644
View file @
43e6cd52
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment