forked from Maxluli/RustyPropagation
remove generate and add some testing
This commit is contained in:
+1
-4
@@ -21,12 +21,9 @@ fn main() {
|
||||
let disease = Disease::new(20, 10, 5, String::from("Covid 44"));
|
||||
let mut population = Population::new(20, 10, 5, 1000, 1000, disease);
|
||||
//population.change_disease(disease);
|
||||
println!("Before Filling");
|
||||
//population.display();
|
||||
population.generate();
|
||||
println!("After Filling");
|
||||
//population.display();
|
||||
println!("After Propagation");
|
||||
//population.display();
|
||||
let mut stats: [i32; 4];
|
||||
// = [0,0,0,0];
|
||||
let mut counter: u32 = 0;
|
||||
|
||||
Reference in New Issue
Block a user