Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assassment 2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
suleman.hussain
assassment 2
Commits
853f88a2
Commit
853f88a2
authored
Apr 26, 2022
by
Suleman Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fsadfas
parent
0ad77e88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
2 deletions
+1
-2
Rectangle.class
bin/Rectangle.class
+0
-0
Rectangle.java
src/Rectangle.java
+0
-1
unitTest.java
src/unitTest.java
+1
-1
No files found.
bin/Rectangle.class
View file @
853f88a2
No preview for this file type
src/Rectangle.java
View file @
853f88a2
...
@@ -10,7 +10,6 @@ public class Rectangle extends Shape{
...
@@ -10,7 +10,6 @@ public class Rectangle extends Shape{
public
void
setWidth
(
int
width
){
public
void
setWidth
(
int
width
){
this
.
width
=
width
;
this
.
width
=
width
;
}
}
public
int
getHeight
()
{
public
int
getHeight
()
{
return
this
.
height
;
return
this
.
height
;
}
}
...
...
src/unitTest.java
View file @
853f88a2
...
@@ -75,7 +75,7 @@ public class unitTest {
...
@@ -75,7 +75,7 @@ public class unitTest {
assertEquals
(
25.0
,
testShape
.
area
(),
1
e
-
6
);
assertEquals
(
25.0
,
testShape
.
area
(),
1
e
-
6
);
}
}
// *********************************
// *********************************
// Square Tests
// Square Tests
// *********************************
// *********************************
...
...
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