Explorar o código

Make BridgeLine::random() non-testing (for now)

Vecna %!s(int64=2) %!d(string=hai) anos
pai
achega
1826f0f3c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/bridge_table.rs

+ 1 - 1
src/bridge_table.rs

@@ -167,7 +167,7 @@ impl BridgeLine {
         }
     }
     /// Create a random BridgeLine for testing
-    #[cfg(test)]
+    //#[cfg(test)]
     pub fn random() -> Self {
         let mut rng = rand::thread_rng();
         let mut res: Self = Default::default();