-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit test for paillier and fileio (#105)
Summary: Pull Request resolved: #105 # What * Add unit test for decrypt and enc_serialise in paillier. Check the length of the vector is same or not. * change should_panic(msg) to should_panic due to it cannot be detected by the code coverage tool. * Add unit test for load_data_with_features. Load file and check the number of plain keys. # Why * need to improve code coverage Reviewed By: wenqingren Differential Revision: D40495543 fbshipit-source-id: 9e31a1e008acf918104270f51c3d4bbb5d4706b3
- Loading branch information
1 parent
f385da8
commit 48a12dd
Showing
3 changed files
with
59 additions
and
1 deletion.
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