Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
s9_saleni_s
DevOps_homework_october
Commits
8904b25f
Commit
8904b25f
authored
Jan 04, 2021
by
s9_saleni_s
Browse files
Unit tests added
parent
4042965a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/vea/sdp2020/Main.java
src/vea/sdp2020/Main.java
+5
-1
src/vea/sdp2020/model/AutoTest.java
src/vea/sdp2020/model/AutoTest.java
+2
-0
No files found.
src/vea/sdp2020/Main.java
View file @
8904b25f
package
vea.sdp2020
;
import
vea.sdp2020.model.Auto
;
public
class
Main
{
public
static
void
main
(
String
[]
args
)
{
// write your code here
Auto
car
=
new
Auto
(
"VW"
,
"Passat"
,
125
,
1.9f
);
System
.
out
.
println
(
car
);
}
}
src/vea/sdp2020/model/AutoTest.java
View file @
8904b25f
...
...
@@ -4,6 +4,8 @@ import static org.junit.jupiter.api.Assertions.*;
class
AutoTest
{
private
final
Auto
auto
=
new
Auto
();
@org
.
junit
.
jupiter
.
api
.
Test
void
setMake
()
{
}
...
...
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