Commit 7174196
authored
Towards #150
### Changes
* Added harnesses for `to_bytes` and `to_bytes_with_nul`
* Added a small fix to `count_bytes`
Verification Result:
```
Checking harness ffi::c_str::verify::check_to_bytes_with_nul...
VERIFICATION RESULT:
** 0 of 179 failed (5 unreachable)
VERIFICATION:- SUCCESSFUL
Verification Time: 88.397385s
Checking harness ffi::c_str::verify::check_to_bytes...
VERIFICATION RESULT:
** 0 of 180 failed (5 unreachable)
VERIFICATION:- SUCCESSFUL
Verification Time: 79.66312s
Checking harness ffi::c_str::verify::check_from_bytes_until_nul...
VERIFICATION RESULT:
** 0 of 132 failed (5 unreachable)
VERIFICATION:- SUCCESSFUL
Verification Time: 28.593569s
Complete - 3 successfully verified harnesses, 0 failures, 3 total.
```
1 parent f87b1ae commit 7174196
1 file changed
+44
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
862 | 871 | | |
863 | 872 | | |
864 | 873 | | |
| |||
875 | 884 | | |
876 | 885 | | |
877 | 886 | | |
878 | | - | |
| 887 | + | |
| 888 | + | |
879 | 889 | | |
880 | 890 | | |
881 | 891 | | |
| |||
897 | 907 | | |
898 | 908 | | |
899 | 909 | | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
900 | 943 | | |
901 | 944 | | |
0 commit comments