You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+57-72
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ We have used coverage.py to measure the cover of our chosen project. After insta
18
18
run the tool by typing coverage run --branch -m pytest tests. Afterwards, we use coverage report to generate the report. Later, Ayman has written a scrip to run the commands in a single script, and to also skip the test files, which don't need to be tested.
19
19
20
20
In order to not put in 8 large images, I will insert the final screenshot, with the total branch coverage:
the coverage is improved by 28%, the code only hit one of the five branches and cover only one of the three cases of the pythagoras theory. I added the other two cases, i could have a fourth case where none of the cases is present.
The coverage is improved by 13%, the code only hit three out of five branches and only set up two examples. I added a case where there is no unique letter.
236
-
237
-
## Almuthana Almustafa
238
-
239
-
### Test 1: stoogsort
240
-
195
+
#### Almuthana Almustafa
241
196
197
+
##### Test 1: stoogsort
242
198
243
199
link to commit in test files:
244
200
[Link to the commit in the test files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/157de36fd4c373b67cd03e3b3713be9ba5cf0d97)
@@ -251,9 +207,11 @@ existing tool result after:
251
207
252
208

253
209
210
+

211
+
254
212
The coverage increased by 89%, largely attributable to the implementation of new tests.
255
213
256
-
### Test 2: word_break
214
+
#####Test 2: word_break
257
215
258
216
[Link to the commit in the test files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/157de36fd4c373b67cd03e3b3713be9ba5cf0d97)
259
217
@@ -265,8 +223,34 @@ existing tool result after:
265
223
266
224

267
225
226
+

227
+
268
228
The coverage improved by 86% due to the creation of new tests.
the coverage is improved by 28%, the code only hit one of the five branches and cover only one of the three cases of the pythagoras theory. I added the other two cases, i could have a fourth case where none of the cases is present.
The coverage is improved by 13%, the code only hit three out of five branches and only set up two examples. I added a case where there is no unique letter.
253
+
270
254
### Overall
271
255
272
256
<Provide a screenshot of the old coverage results by running an existing tool (the same as you already showed above)>
@@ -295,3 +279,4 @@ Cataline -> Instrumentation was added to two functions, and the tests for these
0 commit comments