Skip to content

Commit

Permalink
Tests von to_radix_string korrigiert.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-H11 committed Feb 29, 2024
1 parent 10cd1fc commit 9cd4970
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ mod tests {
fn test_to_radix_string_zero() {
let decimal = BigInt::from(0);
let radix = 16;
let expected = "\u{0}";
let expected = "";

let result = decimal.to_radix_string(&radix);

Expand All @@ -69,7 +69,7 @@ mod tests {
fn test_to_radix_string_decimal_is_radix() {
let decimal = BigInt::from(16);
let radix = 16;
let expected = "";
let expected = "\u{1}\u{0}";

let result = decimal.to_radix_string(&radix);

Expand Down

0 comments on commit 9cd4970

Please sign in to comment.