Skip to content

feat: added unit tests

Codecov / codecov/patch succeeded Dec 8, 2024 in 0s

86.45% of diff hit (target 72.86%)

View this Pull Request on Codecov

86.45% of diff hit (target 72.86%)

Annotations

Check warning on line 505 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L505

Added line #L505 was not covered by tests

Check warning on line 509 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L509

Added line #L509 was not covered by tests

Check warning on line 257 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L254-L257

Added lines #L254 - L257 were not covered by tests

Check warning on line 265 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L259-L265

Added lines #L259 - L265 were not covered by tests

Check warning on line 274 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L267-L274

Added lines #L267 - L274 were not covered by tests

Check warning on line 281 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L277-L281

Added lines #L277 - L281 were not covered by tests

Check warning on line 288 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L283-L288

Added lines #L283 - L288 were not covered by tests

Check warning on line 290 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L290

Added line #L290 was not covered by tests

Check warning on line 310 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L310

Added line #L310 was not covered by tests

Check warning on line 331 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L330-L331

Added lines #L330 - L331 were not covered by tests

Check warning on line 340 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L333-L340

Added lines #L333 - L340 were not covered by tests

Check warning on line 354 in src/index.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/index.rs#L354

Added line #L354 was not covered by tests

Check warning on line 103 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L101-L103

Added lines #L101 - L103 were not covered by tests

Check warning on line 110 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L108-L110

Added lines #L108 - L110 were not covered by tests

Check warning on line 137 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L136-L137

Added lines #L136 - L137 were not covered by tests

Check warning on line 361 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L359-L361

Added lines #L359 - L361 were not covered by tests

Check warning on line 426 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L426

Added line #L426 was not covered by tests

Check warning on line 441 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L430-L441

Added lines #L430 - L441 were not covered by tests

Check warning on line 446 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L443-L446

Added lines #L443 - L446 were not covered by tests

Check warning on line 455 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L455

Added line #L455 was not covered by tests

Check warning on line 763 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L761-L763

Added lines #L761 - L763 were not covered by tests

Check warning on line 998 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L997-L998

Added lines #L997 - L998 were not covered by tests

Check warning on line 1028 in src/input.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/input.rs#L1026-L1028

Added lines #L1026 - L1028 were not covered by tests

Check warning on line 47 in src/main.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main.rs#L44-L47

Added lines #L44 - L47 were not covered by tests