Skip to content

Commit 2063648

Browse files
author
almuthana
committed
images added
1 parent 39e7967 commit 2063648

File tree

1 file changed

+25
-29
lines changed

1 file changed

+25
-29
lines changed

README.md

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Screenshot of branch measurement (0%, was untested):<br>
4242
#### Catalin Antonescu
4343

4444
##### Function 1: strong_password
45-
45+
4646
Link to commit:
4747
[https://github.com/CatalinAnt/algorithms-SEP-95/commit/eaad6d32ecd73bb8fde876a4d4852cb522aea6f8](https://github.com/CatalinAnt/algorithms-SEP-95/commit/2b0b9187c1c040e4476b1ca14f2c2249273566b7)
4848

@@ -91,6 +91,24 @@ https://github.com/CatalinAnt/algorithms-SEP-95/commit/c16f26e952322b2c1729778a4
9191
![first_unique_char_hits](https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/10d7c45c-398e-4408-8f11-6771f51fa95c)
9292

9393

94+
#### Almuthana Almustafa
95+
96+
##### Function 1: stoogsort in stoog_sort.py
97+
98+
[Link to the commit in the founction files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/57b66879c6ae0f82712c55528f540dfdb3c3ddd3)
99+
100+
result:
101+
102+
![alt text](result_image-2.png)
103+
104+
##### Function 2: word_break in word_break.py
105+
106+
link to commit in founction:
107+
[Link to the commit in the founction files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/57b66879c6ae0f82712c55528f540dfdb3c3ddd3 )
108+
109+
result:
110+
111+
![alt text](result_image-2.png)
94112

95113
## Coverage improvement
96114

@@ -216,58 +234,36 @@ https://github.com/CatalinAnt/algorithms-SEP-95/commit/5651abafebe8ae3a5ea63e748
216234

217235
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.
218236

219-
220237
## Almuthana Almustafa
221238

222-
stoogsort in stoog_sort.py
239+
### Test 1: stoogsort
223240

224-
[Link to the commit in the founction files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/57b66879c6ae0f82712c55528f540dfdb3c3ddd3)
225-
226-
result:
227-
228-
![alt text](ts.png)
229-
230-
word_break in word_break.py
231-
232-
link to commit in founction:
233-
[Link to the commit in the founction files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/57b66879c6ae0f82712c55528f540dfdb3c3ddd3 )
234241

235-
result:
236-
237-
![alt text](ts.png)
238-
239-
Almuthana Almustafa
240-
241-
Test 1:
242-
243-
stoogsort function
244242

245243
link to commit in test files:
246244
[Link to the commit in the test files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/157de36fd4c373b67cd03e3b3713be9ba5cf0d97)
247245

248246
existing tool result before:
249247

250-
![alt text](ss2.png)
248+
![alt text](stoog_sort_image1.png)
251249

252250
existing tool result after:
253251

254-
![alt text](ss.png)
252+
![alt text](stoog_sort_image2.png)
255253

256254
The coverage increased by 89%, largely attributable to the implementation of new tests.
257255

258-
Test 2:
259-
260-
word_break function
256+
### Test 2: word_break
261257

262258
[Link to the commit in the test files](https://github.com/CatalinAnt/algorithms-SEP-95/commit/157de36fd4c373b67cd03e3b3713be9ba5cf0d97)
263259

264260
existing tool result before:
265261

266-
![alt text](wk1.png)
262+
![alt text](word_break_image1.png)
267263

268264
existing tool result after:
269265

270-
![alt text](wk2.png)
266+
![alt text](word_break_image2.png)
271267

272268
The coverage improved by 86% due to the creation of new tests.
273269

0 commit comments

Comments
 (0)