Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Assignment3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWT
Assignments
Assignment3
Commits
df35724d
Commit
df35724d
authored
1 year ago
by
Claus Bruun Clausen
Browse files
Options
Downloads
Plain Diff
Merge branch 'PowerTubePower' into 'main'
test of constructor for powertube See merge request
!10
parents
4edf7c48
c3b6fe44
No related branches found
Branches containing commit
No related tags found
1 merge request
!10
test of constructor for powertube
Pipeline
#194445
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Microwave.Test.Unit/PowerTubeTest.cs
+14
-1
14 additions, 1 deletion
Microwave.Test.Unit/PowerTubeTest.cs
with
14 additions
and
1 deletion
Microwave.Test.Unit/PowerTubeTest.cs
+
14
−
1
View file @
df35724d
...
...
@@ -19,7 +19,20 @@ namespace Microwave.Test.Unit
uut
=
new
PowerTube
(
output
,
700
);
}
[
TestCase
(
400
,
500
)]
[
TestCase
(
500
,
500
)]
[
TestCase
(
700
,
700
)]
[
TestCase
(
800
,
800
)]
[
TestCase
(
1000
,
1000
)]
[
TestCase
(
1100
,
500
)]
public
void
PowerTube_Constructor_SetSize
(
int
powerTube
,
int
size
)
{
PowerTube
tempUut
=
new
PowerTube
(
output
,
powerTube
);
Assert
.
AreEqual
(
size
,
tempUut
.
PowerTubeSize
);
}
[
TestCase
(
1
)]
[
TestCase
(
50
)]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment