Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
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
abdullh.alsoleman
Front-End
Commits
eedbb4f1
Commit
eedbb4f1
authored
Jun 26, 2015
by
Chinmay Garde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a simple test for the toString() override so that the coverage
tool is not sad
parent
d8d07a31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
cassowary_test.dart
packages/cassowary/test/cassowary_test.dart
+11
-0
No files found.
packages/cassowary/test/cassowary_test.dart
View file @
eedbb4f1
...
...
@@ -490,4 +490,15 @@ void main() {
expect
(
mid
.
value
,
300.0
);
expect
(
right
.
value
,
600.0
);
});
test
(
'test_description'
,
()
{
var
left
=
new
Param
(
0.0
);
var
right
=
new
Param
(
100.0
);
var
c
=
right
>=
left
;
Solver
s
=
new
Solver
();
expect
(
s
.
addConstraint
(
c
),
Result
.
success
);
expect
(
s
.
toString
()
!=
null
,
true
);
});
}
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