-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Create unit test for rust code (#1615)
* feat: Add new function to allocate any object to heap with zero allocated * feat: Add unit tests for `decoder/commands.rs` * docs: Mention about PR in changelogs * feat: Add unit tests for `decoder/windows.rs` Refactor the code and use Default where needed Implement `PartialEq` also * fix: Intialise tmp extern C values for easy mocking * feat: Add unit tests for `decoder/timing.rs` * feat: Add unit tests for `decoder/output.rs` * feat: Add unit tests for `decoder/mod.rs` * feat: Add unit tests for `decoder/tv_screen.rs` * feat: Add unit tests for `lib.rs` * fix: Failing test * feat: [WIP] Add unit tests for `decoder/service_decoder.rs` * feat: Add unit tests for `decoder/service_decoder.rs` * feat: Add unit tests for `hardsubx/imgops.rs` * feat: Add unit tests for `hardsubx/utility.rs` * fix: cargo clippy * fix: doctest for `lib_ccxr` module * feat: Add test `lib_ccxr/util/mod.rs` * feat: Add test `lib_ccxr/util/levenshtein.rs` * feat: Add test `lib_ccxr/util/bits.rs` * feat: Add test `lib_ccxr/time/units.rs` * chore: Change function name * fix: Failing of missing values `tlt_config` * ci: Run unit test cases in `lib_ccxr` module also * ci: Run clippy & fmt in `lib_ccxr` module also * chore(clippy): Fix clippy warnings
- Loading branch information
1 parent
5f9b395
commit f8001ae
Showing
19 changed files
with
1,690 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.