Skip to content

Commit

Permalink
Imports aufgeräumt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-H11 committed Apr 7, 2024
1 parent 92e4149 commit 6326d76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use bigdecimal::num_bigint::BigInt;
use bigdecimal::{One, Zero};

use crate::encryption::encryption_types::{Decryptor, EncryptionScheme, Encryptor};
use crate::encryption::string_schemes::decimal_unicode_schemes::decimal_unicode_conversion_core::ToRadixString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl AsymmetricDecryptor<MenezesVanstoneStringScheme> for MenezesVanstoneStringS

#[cfg(test)]
mod tests {
use rand::distributions::{Uniform};
use rand::distributions::Uniform;
use rand::Rng;

use crate::math_core::number_theory::number_theory_service::NumberTheoryServiceSpeed::Fast;
Expand Down
6 changes: 2 additions & 4 deletions src/math_core/complex_number.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
use bigdecimal::num_bigint::ToBigInt;
use bigdecimal::num_traits::Euclid;

use bigdecimal::{BigDecimal, Signed, Zero};
use num::BigInt;
use sha2::digest::typenum::private::IsGreaterOrEqualPrivate;
use std::cmp::Ordering;

use std::ops::{Add, Div, Mul, Sub};

#[derive(Clone, Debug, PartialEq)]
Expand Down Expand Up @@ -185,7 +184,6 @@ impl Div for &ComplexNumber {
#[cfg(test)]
mod tests {
use super::*;
use num::Integer;

#[test]
fn complex_test() {
Expand Down

0 comments on commit 6326d76

Please sign in to comment.