Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WS-17-18
assignment-tests
Commits
57bf0e9a
Commit
57bf0e9a
authored
Mar 11, 2018
by
Alexander
Browse files
format corrected
parent
b2a73734
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/TestPair.java
View file @
57bf0e9a
package
test
;
import
com.sun.istack.internal.NotNull
;
import
edu.kit.informatik.Terminal
;
public
class
TestPair
{
...
...
@@ -22,24 +21,24 @@ public class TestPair {
private
String
output
;
private
Type
type
;
public
TestPair
(
@NotNull
String
input
,
@NotNull
String
output
,
Type
type
)
{
assert
input
!=
null
:
"input is null"
;
assert
output
!=
null
:
"output is null"
;
public
TestPair
(
String
input
,
String
output
,
Type
type
)
{
assert
input
!=
null
:
"input is null"
;
assert
output
!=
null
:
"output is null"
;
this
.
input
=
input
;
this
.
output
=
output
;
this
.
type
=
type
;
}
public
TestPair
(
@NotNull
String
input
,
@NotNull
String
output
)
{
assert
input
!=
null
:
"input is null"
;
assert
output
!=
null
:
"output is null"
;
public
TestPair
(
String
input
,
String
output
)
{
assert
input
!=
null
:
"input is null"
;
assert
output
!=
null
:
"output is null"
;
this
.
input
=
input
;
this
.
output
=
output
;
this
.
type
=
Type
.
CHECK_EQUALS
;
}
public
TestPair
(
@NotNull
String
input
,
Type
type
)
{
assert
input
!=
null
:
"input is null"
;
public
TestPair
(
String
input
,
Type
type
)
{
assert
input
!=
null
:
"input is null"
;
this
.
input
=
input
;
this
.
type
=
type
;
this
.
output
=
""
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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