diff --git a/coverage/html/index.html b/coverage/html/index.html index 7ecf263..efa6e0b 100644 --- a/coverage/html/index.html +++ b/coverage/html/index.html @@ -122,7 +122,7 @@ diff --git a/coverage/html/src/action.rs.html b/coverage/html/src/action.rs.html index c482092..f402e3a 100644 --- a/coverage/html/src/action.rs.html +++ b/coverage/html/src/action.rs.html @@ -4905,7 +4905,7 @@ diff --git a/coverage/html/src/bin/index.html b/coverage/html/src/bin/index.html index a54d698..1c5c163 100644 --- a/coverage/html/src/bin/index.html +++ b/coverage/html/src/bin/index.html @@ -74,7 +74,7 @@ diff --git a/coverage/html/src/bin/xiv_csolver.rs.html b/coverage/html/src/bin/xiv_csolver.rs.html index 13b048e..07f2639 100644 --- a/coverage/html/src/bin/xiv_csolver.rs.html +++ b/coverage/html/src/bin/xiv_csolver.rs.html @@ -46,8 +46,8 @@
- 10 + role="cell" aria-label="11"> + 11
@@ -83,7 +83,7 @@
-

+                
// #![warn(missing_docs)]
-
use clap::Parser;
+

             
-
use std::time::Instant;
+
use clap::Parser;
-
use xiv_csolver_lib;
+
use std::time::Instant;
-

+                
use xiv_csolver_lib;
8
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
#[derive(Debug)]
+

             
9
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
struct CustomError(String);
+
#[derive(Debug)]
-

+                
struct CustomError(String);
11
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
fn main() {
+

             
-
    let args = xiv_csolver_lib::io::Args::parse();
+
fn main() {
-
    let params = xiv_csolver_lib::io::Parameters::from_args(&args);
+
    let args = xiv_csolver_lib::io::Args::parse();
-

+                
    let params = xiv_csolver_lib::io::Parameters::from_args(&args);
-
    // Start timer
+

             
-
    let now = Instant::now();
+
    // Start timer
-
    println!("Solving...");
+
    let now = Instant::now();
-

+                
    println!("Solving...");
-
    // Solve from config
+

             
-
    let (recipe, stats) =
+
    // Solve from config
-
        xiv_csolver_lib::load_from_config(&args.recipe_name, &args.file_name, &args.character_name);
+
    let (recipe, stats) =
-
    let results = xiv_csolver_lib::solve_craft(recipe, stats, params);
+
        xiv_csolver_lib::load_from_config(&args.recipe_name, &args.file_name, &args.character_name);
-

+                
    let results = xiv_csolver_lib::solve_craft(recipe, stats, params);
-
    // Stop timer
+

             
-
    let t_final = now.elapsed().as_millis();
+
    // Stop timer
-

+                
    let t_final = now.elapsed().as_millis();
-
    // Show best result depending on selected value
+

             
-
    match results {
+
    // Show best result depending on selected value
29
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
        None => {
+
    match results {
30
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
            println!(
+
        None => {
-
                "[Error] No solutions found for craft '{}' with crafter '{}' (ms)",
+
            println!(
-
                args.recipe_name, args.character_name
+
                "[Error] No solutions found for craft '{}' with crafter '{}' (ms)",
-
            );
+
                args.recipe_name, args.character_name
-
            return;
+
            );
35
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
        }
+
            return;
36
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
        Some(ref res) => {
+
        }
-
            // Show best results
+
        Some(ref res) => {
-
            if args.verbose > 0 {
+
            // Show best results
-
                println!("[Final] {} results were found:", res.len());
+
            if args.verbose > 0 {
-
                #[cfg(feature = "verbose")]
+
                println!("[Final] {} results were found:", res.len());
-
                if args.verbose > 1 {
+
                #[cfg(feature = "verbose")]
-
                    xiv_csolver_lib::print_routes(&results);
+
                if args.verbose > 1 {
-
                }
+
                    xiv_csolver_lib::print_routes(&results);
-
            }
+
                }
45
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
        }
+
            }
-
    }
+
        }
47
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    println!("\n > SOLUTION [Least steps] <");
+
    }
-
    xiv_csolver_lib::find_fast_route(&results)
+
    println!("\n > SOLUTION [Least steps] <");
-
        .unwrap()
+
    xiv_csolver_lib::find_fast_route(&results)
-
        .pretty_print();
+
        .unwrap()
-
    println!("\n > SOLUTION [Most durability] <");
+
        .pretty_print();
-
    xiv_csolver_lib::find_safe_route(&results)
+
    println!("\n > SOLUTION [Most durability] <");
-
        .unwrap()
+
    xiv_csolver_lib::find_safe_route(&results)
-
        .pretty_print();
+
        .unwrap()
-
    println!("\n > SOLUTION [Most quality] < ");
+
        .pretty_print();
-
    xiv_csolver_lib::find_quality_route(&results)
+
    println!("\n > SOLUTION [Most quality] < ");
-
        .unwrap()
+
    xiv_csolver_lib::find_quality_route(&results)
-
        .pretty_print();
+
        .unwrap()
-

+                
        .pretty_print();
-
    // #[cfg(feature = "verbose")]
+

             
-
    // if params.verbose>2{
+
    // #[cfg(feature = "verbose")]
-
    //     println!("[F] Top routes {:?}",results);
+
    // if params.verbose>2{
-
    // }
+
    //     println!("[F] Top routes {:?}",results);
-

+                
    // }
-
    // Wait for user input
+

             
-
    println!(
+
    // Wait for user input
-
        "\nProgram finished successfully in {}ms\nPress enter to exit...",
+
    println!(
-
        t_final
+
        "\nProgram finished successfully in {}ms\nPress enter to exit...",
-
    );
+
        t_final
-
    let mut input = String::new();
+
    );
-
    std::io::stdin().read_line(&mut input).unwrap();
+
    let mut input = String::new();
-
    ()
+
    std::io::stdin().read_line(&mut input).unwrap();
+
+
+
    ()
+
+
+
+ 74 +
+
+
@@ -1209,7 +1225,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/src/craft.rs.html b/coverage/html/src/craft.rs.html index 7b9b7b3..d3e70e2 100644 --- a/coverage/html/src/craft.rs.html +++ b/coverage/html/src/craft.rs.html @@ -2393,7 +2393,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/src/index.html b/coverage/html/src/index.html index 9e7cef8..e016d84 100644 --- a/coverage/html/src/index.html +++ b/coverage/html/src/index.html @@ -194,7 +194,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/src/io.rs.html b/coverage/html/src/io.rs.html index 73e67bc..efb11ac 100644 --- a/coverage/html/src/io.rs.html +++ b/coverage/html/src/io.rs.html @@ -51,7 +51,7 @@
-
use crate::Craft;
+
#[warn(missing_docs)]
-
use clap::Parser;
+

             
-
use core::fmt::Display;
+
use crate::Craft;
-

+                
use clap::Parser;
-
// #[cfg(not(feature = "no_python"))]
+
use core::fmt::Display;
-
use pyo3::prelude::*;
+

             
-

+                
// #[cfg(not(feature = "no_python"))]
8
- 12 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
#[derive(Debug, Clone, Copy)]
+
use pyo3::prelude::*;
-
pub struct Parameters {
+

             
10
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-
    pub threads: usize,
+
#[derive(Debug, Clone, Copy)]
-
    pub verbose: u8,
+
pub struct Parameters {
-
    pub depth: u32,
+
    pub threads: usize,
-
    pub desperate: bool,
+
    pub verbose: u8,
-
    pub byregot_step: u8,
+
    pub depth: u32,
-
}
+
    pub desperate: bool,
-

+                
    pub byregot_step: u8,
17
- 32 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
#[derive(Parser, Debug, Clone)]
+
}
-
#[command(author, version, about, long_about = None)]
+

             
19
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="8"> + 8
-
-
pub struct Args {
+
#[derive(Parser, Debug, Clone)]
-
    /// Name of the receipe
+
#[command(author, version, about, long_about = None)]
21
+
+ +
+
+
pub struct Args {
+
+
+
+ 22 +
+
+ +
+
+
    /// Name of the receipe
+
+
+
+ 23 +
- 6 + role="cell" aria-label="1"> + 1
@@ -376,9 +408,9 @@
- 22 + 24
- 23 + 25
- 24 + 26
- 25 + 27
- 6 + role="cell" aria-label="1"> + 1
@@ -440,9 +472,9 @@
- 26 + 28
- 27 + 29
- 28 + 30
    /// The ml file name
-
-
- 29 -
-
- 6 -
-
-
    #[arg(short, long, default_value_t = String::from("craft.toml"))]
-
-
-
- 30 -
-
- -
-
-
    pub file_name: String,
-
31
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-

+                
    #[arg(short, long, default_value_t = String::from("craft.toml"))]
32
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
    /// The verbose flag
+
    pub file_name: String,
-
    #[arg(short, long, action = clap::ArgAction::Count)]
+

             
34
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    pub verbose: u8,
+
    /// The verbose flag
35
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-

+                
    #[arg(short, long, action = clap::ArgAction::Count)]
-
    /// The depth of the first pass
+
    pub verbose: u8,
37
- 6 + class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0"> +
-
-
    #[arg(short, long, default_value_t = 8)]
+

             
-
    pub depth: u32,
+
    /// The depth of the first pass
39
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-

+                
    #[arg(short, long, default_value_t = 8)]
-
    /// Thread counts, default is 4
+
    pub depth: u32,
41
- 6 + class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0"> +
-
-
    #[arg(short, long, default_value_t = 4)]
+

             
-
    pub threads: usize,
+
    /// Thread counts, default is 4
43
+
+ 1 +
+
+
    #[arg(short, long, default_value_t = 4)]
+
+
+
+ 44 +
+
+ +
+
+
    pub threads: usize,
+
+
+
+ 45 +
@@ -728,9 +760,9 @@
- 44 + 46
    /// Desperate mode, will try to finish the craft above all
-
-
- 45 -
-
- 6 -
-
-
    #[arg(short = 'D', long, default_value_t = false)]
-
-
-
- 46 -
-
- -
-
-
    pub desperate: bool,
-
47
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-

+                
    #[arg(short = 'D', long, default_value_t = false)]
-
    /// Long mode, will try to find more solutions, at the expense of time
+
    pub desperate: bool,
49
- 6 + class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0"> +
-
-
    #[arg(short = 'l', long, default_value_t = false)]
+

             
-
    pub long: bool,
+
    /// Long mode, will try to find more solutions, at the expense of time
51
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-
}
+
    #[arg(short = 'l', long, default_value_t = false)]
52
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
    pub long: bool,
53
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
/// A final stripped down version of a craft
+
}
-
/// used for final print and talking with python
+

             
55
- 10 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
#[derive(Debug)]
+
/// A final stripped down version of a craft
56
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
#[pyclass]
+
/// used for final print and talking with python
57
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-
pub struct SolverResult {
+
#[derive(Debug)]
58
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
    #[pyo3(get)]
+
#[pyclass]
-
    pub steps: u32,
+
pub struct SolverResult {
-
    pub quality: u32,
+
    pub steps: u32,
-
    pub progression: u32,
+
    pub quality: u32,
-
    pub durability: i32,
+
    pub progression: u32,
-
    pub cp: i32,
+
    pub durability: i32,
-
    pub total_cp: u32,
+
    pub cp: i32,
-
    pub total_progression: u32,
+
    pub total_cp: u32,
-
    pub total_quality: u32,
+
    pub total_progression: u32,
-
    pub total_durability: u32,
+
    pub total_quality: u32,
-
    pub actions: Vec<String>,
+
    pub total_durability: u32,
-
    pub step1_solutions: usize,
+
    pub actions: Vec<String>,
-
    pub step2_solutions: usize,
+
    pub step1_solutions: usize,
-
    pub found_100_percent: bool,
+
    pub step2_solutions: usize,
-
}
+
    #[pyo3(get)]
-

+                
    pub found_100_percent: bool,
-
/// Pretty display for SolverResult
+
}
-
impl Display for SolverResult {
+

             
88
- 26 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
+
/// Pretty display for SolverResult
89
- 26 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
        write!(f, "{:?}", self.actions)
+
impl Display for SolverResult {
- 26 + role="cell" aria-label="2"> + 2
-
    }
+
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
91
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="2"> + 2
-
-
}
+
        write!(f, "{:?}", self.actions)
92
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="2"> + 2
-
-

+                
    }
-
//#[pymethods]
+
}
-
impl SolverResult {
+

             
95
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    pub fn from_craft(
+
//#[pymethods]
96
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
        craft: &Craft,
+
impl SolverResult {
-
        step1_solutions: usize,
+
    pub fn from_craft(
-
        step2_solutions: usize,
+
        craft: &Craft,
-
        found_100_percent: bool,
+
        step1_solutions: usize,
-
    ) -> SolverResult {
+
        step2_solutions: usize,
-
        let mut actions = craft
+
        found_100_percent: bool,
-
            .actions
+
    ) -> SolverResult {
-
            .iter()
+
        let mut actions = craft
-
            .map(|action| format!("{}", action.short_name))
+
            .actions
-
            .collect::<Vec<String>>();
+
            .iter()
-
        let arg = (craft.recipe.progress as f32 - craft.progression as f32)
+
            .map(|action| format!("{}", action.short_name))
-
            / craft.get_base_progression() as f32;
+
            .collect::<Vec<String>>();
-
        if 0.0 < arg && arg < 1.2 {
+
        let arg = (craft.recipe.progress as f32 - craft.progression as f32)
-
            actions.push("basicSynth2".to_string());
+
            / craft.get_base_progression() as f32;
-
        }
+
        if 0.0 < arg && arg < 1.2 {
-
        if 1.2 <= arg && arg < 1.8 {
+
            actions.push("basicSynth2".to_string());
-
            actions.push("carefulSynthesis".to_string());
+
        }
-
        }
+
        if 1.2 <= arg && arg < 1.8 {
-
        if 1.8 <= arg && arg < 2.0 {
+
            actions.push("carefulSynthesis".to_string());
-
            actions.push("observe".to_string());
+
        }
-
            actions.push("focusedSynthesis".to_string());
+
        if 1.8 <= arg && arg < 2.0 {
-
        }
+
            actions.push("observe".to_string());
-
        SolverResult {
+
            actions.push("focusedSynthesis".to_string());
-
            steps: craft.step_count,
+
        }
-
            progression: craft.progression,
+
        SolverResult {
-
            quality: craft.quality,
+
            steps: craft.step_count,
-
            durability: craft.durability,
+
            progression: craft.progression,
-
            actions: actions,
+
            quality: craft.quality,
-
            step1_solutions,
+
            durability: craft.durability,
-
            step2_solutions,
+
            actions: actions,
-
            found_100_percent,
+
            step1_solutions,
-
            total_progression: craft.recipe.progress,
+
            step2_solutions,
-
            total_quality: craft.recipe.quality,
+
            found_100_percent,
-
            total_durability: craft.recipe.durability,
+
            total_progression: craft.recipe.progress,
-
            cp: craft.cp,
+
            total_quality: craft.recipe.quality,
-
            total_cp: craft.stats.max_cp,
+
            total_durability: craft.recipe.durability,
-
        }
+
            cp: craft.cp,
-
    }
+
            total_cp: craft.stats.max_cp,
134
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
}
+
        }
135
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
    }
136
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
#[pymethods]
+
}
-
impl SolverResult {
+

             
138
+
+ +
+
+
#[pymethods]
+
+
+
+ 139 +
+
+ +
+
+
impl SolverResult {
+
+
+
+ 140 +
@@ -2245,38 +2277,6 @@ role="cell">
    #[staticmethod]
-
-
- 139 -
-
- 23 -
-
-
    pub fn default() -> Self {
-
-
-
- 140 -
-
- 23 -
-
-
        Self {
-
- 23 + role="cell" aria-label="2"> + 2
-
            steps: 0,
+
    pub fn default() -> Self {
- 23 + role="cell" aria-label="2"> + 2
-
            progression: 0,
+
        Self {
- 23 + role="cell" aria-label="2"> + 2
-
            quality: 0,
+
            steps: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            durability: 0,
+
            progression: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            total_progression: 0,
+
            quality: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            total_quality: 0,
+
            durability: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            total_durability: 0,
+
            total_progression: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            actions: vec!["Act1".to_string(), "Act2".to_string()],
+
            total_quality: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            step1_solutions: 0,
+
            total_durability: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            step2_solutions: 0,
+
            actions: vec!["Act1".to_string(), "Act2".to_string()],
- 23 + role="cell" aria-label="2"> + 2
-
            found_100_percent: false,
+
            step1_solutions: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            cp: 0,
+
            step2_solutions: 0,
- 23 + role="cell" aria-label="2"> + 2
-
            total_cp: 0,
+
            found_100_percent: false,
- 23 + role="cell" aria-label="2"> + 2
-
        }
+
            cp: 0,
- 23 + role="cell" aria-label="2"> + 2
-
    }
+
            total_cp: 0,
156
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="2"> + 2
-
-

+                
        }
- 8 + role="cell" aria-label="2"> + 2
-
    pub fn pretty_print(&self) {
+
    }
158
- 8 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
        println!(
+

             
- 8 + role="cell" aria-label="1"> + 1
-
            "Quality: [{}/{}] | Durability: [{}/{}] | Cp : [{}/{}] | Steps : {}",
+
    pub fn pretty_print(&self) {
- 8 + role="cell" aria-label="1"> + 1
-
            self.quality,
+
        println!(
- 8 + role="cell" aria-label="1"> + 1
-
            self.total_quality,
+
            "Quality: [{}/{}] | Durability: [{}/{}] | Cp : [{}/{}] | Steps : {}",
- 8 + role="cell" aria-label="1"> + 1
-
            self.durability,
+
            self.quality,
- 8 + role="cell" aria-label="1"> + 1
-
            self.total_durability,
+
            self.total_quality,
- 8 + role="cell" aria-label="1"> + 1
-
            self.cp,
+
            self.durability,
- 8 + role="cell" aria-label="1"> + 1
-
            self.total_cp,
+
            self.total_durability,
- 8 + role="cell" aria-label="1"> + 1
-
            self.steps
+
            self.cp,
- 8 + role="cell" aria-label="1"> + 1
-
        );
+
            self.total_cp,
- 8 + role="cell" aria-label="1"> + 1
-
        println!("{:?}", self.actions);
+
            self.steps
- 8 + role="cell" aria-label="1"> + 1
-
    }
+
        );
170
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-
}
+
        println!("{:?}", self.actions);
171
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-

+                
    }
-
impl Parameters {
+
}
173
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    pub fn from_args(args: &Args) -> Self {
+

             
174
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
        Self {
+
impl Parameters {
-
            depth: if args.desperate { 11 } else { 8 },
+
    pub fn from_args(args: &Args) -> Self {
-
            threads: args.threads,
+
        Self {
-
            verbose: args.verbose,
+
            depth: if args.desperate { 11 } else { 8 },
-
            desperate: args.desperate,
+
            threads: args.threads,
-
            byregot_step: if args.long { 6 } else { 8 },
+
            verbose: args.verbose,
180
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
        }
+
            desperate: args.desperate,
-
    }
+
            byregot_step: if args.long { 6 } else { 8 },
-
}
+
        }
183
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
    }
-
////// Python Bindings //////
+
}
-
/// A Python module implemented in Rust.
+
////// Python Bindings //////
-
#[cfg(not(feature = "no_python"))]
+

             
188
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
#[pymodule]
+
/// A Python module implemented in Rust.
189
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
fn xiv_csolver_lib(_py: Python, m: &PyModule) -> PyResult<()> {
+
#[cfg(not(feature = "no_python"))]
-
    m.add_function(wrap_pyfunction!(test_result, m)?)?;
+
#[pymodule]
-
    m.add_function(wrap_pyfunction!(solve_from_python, m)?)?;
+
fn xiv_csolver_lib(_py: Python, m: &PyModule) -> PyResult<()> {
-
    Ok(())
+
    m.add_function(wrap_pyfunction!(test_result, m)?)?;
-
}
+
    m.add_function(wrap_pyfunction!(solve_from_python, m)?)?;
194
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
    Ok(())
195
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
///
+
}
-
#[cfg(not(feature = "no_python"))]
+

             
197
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
#[pyfunction]
+
///
198
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
pub fn test_result() -> SolverResult {
+
#[cfg(not(feature = "no_python"))]
-
    SolverResult::default()
+
#[pyfunction]
-
}
+
pub fn test_result() -> SolverResult {
201
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
    SolverResult::default()
202
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
/// Create a stat struct stats with the base values
+
}
-
#[cfg(not(feature = "no_python"))]
+

             
-
use crate::{solve_craft, Recipe, Stats};
+
/// Create a stat struct stats with the base values
-

+                
#[cfg(not(feature = "no_python"))]
-
#[cfg(not(feature = "no_python"))]
+
use crate::{solve_craft, Recipe, Stats};
207
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
#[pyfunction]
+

             
208
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
pub fn solve_from_python(values: &PyAny) -> PyResult<Option<Vec<SolverResult>>> {
+
#[cfg(not(feature = "no_python"))]
209
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
    // // Create Recipe
+
#[pyfunction]
-
    let recipe = Recipe {
+
pub fn solve_from_python(values: &PyAny) -> PyResult<Option<Vec<SolverResult>>> {
211
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
        durability: values.getattr("durability")?.extract()?,
+
    // // Create Recipe
-
        progress: values.getattr("progress")?.extract()?,
+
    let recipe = Recipe {
-
        progress_divider: values.getattr("progress_divider")?.extract()?,
+
        durability: values.getattr("durability")?.extract()?,
-
        progress_modifier: values.getattr("progress_modifier")?.extract()?,
+
        progress: values.getattr("progress")?.extract()?,
-
        quality: values.getattr("quality")?.extract()?,
+
        progress_divider: values.getattr("progress_divider")?.extract()?,
-
        quality_divider: values.getattr("quality_divider")?.extract()?,
+
        progress_modifier: values.getattr("progress_modifier")?.extract()?,
-
        quality_modifier: values.getattr("quality_modifier")?.extract()?,
+
        quality: values.getattr("quality")?.extract()?,
218
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
    };
+
        quality_divider: values.getattr("quality_divider")?.extract()?,
219
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
        quality_modifier: values.getattr("quality_modifier")?.extract()?,
-
    // Create Stats
+
    };
221
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    let stats = Stats {
+

             
222
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
        craftsmanship: values.getattr("craftsmanship")?.extract()?,
+
    // Create Stats
-
        control: values.getattr("control")?.extract()?,
+
    let stats = Stats {
-
        max_cp: values.getattr("max_cp")?.extract()?,
+
        craftsmanship: values.getattr("craftsmanship")?.extract()?,
225
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
    };
+
        control: values.getattr("control")?.extract()?,
226
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
        max_cp: values.getattr("max_cp")?.extract()?,
-
    // Create parameters
+
    };
228
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    let param = Parameters {
+

             
229
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
        depth: values.getattr("depth")?.extract()?,
+
    // Create parameters
-
        byregot_step: values.getattr("byregot_step")?.extract()?,
+
    let param = Parameters {
-
        desperate: values.getattr("desperate")?.extract()?,
+
        depth: values.getattr("depth")?.extract()?,
-
        threads: values.getattr("threads")?.extract()?,
+
        byregot_step: values.getattr("byregot_step")?.extract()?,
-
        verbose: values.getattr("verbose")?.extract()?,
+
        desperate: values.getattr("desperate")?.extract()?,
234
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
    };
+
        threads: values.getattr("threads")?.extract()?,
235
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
        verbose: values.getattr("verbose")?.extract()?,
-
    // println!("{:?} len: {:?} ",values,values.getattr("len()"));
+
    };
237
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    let res = solve_craft(recipe, stats, param);
+

             
238
+ class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage">
-
-
    Ok(res)
+
    // println!("{:?} len: {:?} ",values,values.getattr("len()"));
-
}
+
    let res = solve_craft(recipe, stats, param);
240
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-

+                
    Ok(res)
241
+ class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger" + role="cell" aria-label="0">
-
-
#[cfg(test)]
+
}
-
mod tests {
+

             
-
    use crate::io::Args;
+
#[cfg(test)]
-
    use crate::{Parameters, SolverResult};
+
mod tests {
-
    use pretty_assertions::{assert_eq, assert_ne};
+
    use crate::io::Args;
-
    use clap::Parser;
+
    use crate::{Parameters, SolverResult};
-

+                
    use pretty_assertions::{assert_eq, assert_ne};
-
    impl PartialEq for Parameters {
+
    use clap::Parser;
249
- 6 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
        fn eq(&self, rhs: &Parameters) -> bool {
+

             
250
- 6 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
            (self.byregot_step == rhs.byregot_step)
+
    impl PartialEq for Parameters {
- 6 + role="cell" aria-label="1"> + 1
-
                & (self.depth == rhs.depth)
+
        fn eq(&self, rhs: &Parameters) -> bool {
- 6 + role="cell" aria-label="1"> + 1
-
                & (self.desperate == rhs.desperate)
+
            (self.byregot_step == rhs.byregot_step)
- 6 + role="cell" aria-label="1"> + 1
-
                & (self.threads == rhs.threads)
+
                & (self.depth == rhs.depth)
- 6 + role="cell" aria-label="1"> + 1 +
+
+
                & (self.desperate == rhs.desperate)
+
+
+
+ 255 +
+
+ 1 +
+
+
                & (self.threads == rhs.threads)
+
+
+
+ 256 +
+
+ 1
@@ -4104,9 +4136,9 @@
- 255 + 257
- 256 + 258

             
-
-
- 257 -
-
- 6 -
-
-
    #[test]
-
-
-
- 258 -
-
- 6 -
-
-
    pub fn test_parameters_derived_attributes() {
-
- 6 + role="cell" aria-label="1"> + 1
-
        let def = Parameters {
+
    #[test]
- 6 + role="cell" aria-label="1"> + 1
-
            byregot_step: 0,
+
    pub fn test_parameters_derived_attributes() {
- 6 + role="cell" aria-label="1"> + 1
-
            depth: 0,
+
        let def = Parameters {
- 6 + role="cell" aria-label="1"> + 1
-
            desperate: false,
+
            byregot_step: 0,
- 6 + role="cell" aria-label="1"> + 1
-
            threads: 42,
+
            depth: 0,
- 6 + role="cell" aria-label="1"> + 1
-
            verbose: 1,
+
            desperate: false,
- 6 + role="cell" aria-label="1"> + 1
-
        };
+
            threads: 42,
- 6 + role="cell" aria-label="1"> + 1
-
        let def2 = def;
+
            verbose: 1,
- 6 + role="cell" aria-label="1"> + 1
-
        let def3 = def2.clone();
+
        };
- 6 + role="cell" aria-label="1"> + 1
-

+                
        let def2 = def;
- 6 + role="cell" aria-label="1"> + 1
-
        assert_eq!(def2, def3);
+
        let def3 = def2.clone();
- 6 + role="cell" aria-label="1"> + 1
-
    }
+

             
271
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-

+                
        assert_eq!(def2, def3);
- 6 + role="cell" aria-label="1"> + 1
-
    #[test]
+
    }
273
- 6 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
    pub fn test_display() {
+

             
- 6 + role="cell" aria-label="1"> + 1
-
        let def = SolverResult::default();
+
    #[test]
- 6 + role="cell" aria-label="1"> + 1
-
        assert_ne!(def.to_string(), "");
+
    pub fn test_display() {
- 6 + role="cell" aria-label="1"> + 1
-
        assert_eq!(def.to_string(), "[\"Act1\", \"Act2\"]");
+
        let def = SolverResult::default();
- 6 + role="cell" aria-label="1"> + 1
-
        def.pretty_print();
+
        assert_ne!(def.to_string(), "");
- 6 + role="cell" aria-label="1"> + 1
-
    }
+
        assert_eq!(def.to_string(), "[\"Act1\", \"Act2\"]");
279
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-

+                
        def.pretty_print();
- 6 + role="cell" aria-label="1"> + 1
-
    #[test]
+
    }
281
- 6 + class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white" + role="cell" aria-label="no coverage"> +
-
-
    pub fn test_debug() {
+

             
- 6 + role="cell" aria-label="1"> + 1
-
        let def = SolverResult::default();
+
    #[test]
- 6 + role="cell" aria-label="1"> + 1
-
        assert_eq!(format!("{:?}", def),"SolverResult { steps: 0, quality: 0, progression: 0, durability: 0, cp: 0, total_cp: 0, total_progression: 0, total_quality: 0, total_durability: 0, actions: [\"Act1\", \"Act2\"], step1_solutions: 0, step2_solutions: 0, found_100_percent: false }");
+
    pub fn test_debug() {
- 6 + role="cell" aria-label="1"> + 1
-
    }
+
        let def = SolverResult::default();
285
- + class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success" + role="cell" aria-label="1"> + 1
-
-

+                
        assert_eq!(format!("{:?}", def),"SolverResult { steps: 0, quality: 0, progression: 0, durability: 0, cp: 0, total_cp: 0, total_progression: 0, total_quality: 0, total_durability: 0, actions: [\"Act1\", \"Act2\"], step1_solutions: 0, step2_solutions: 0, found_100_percent: false }");
- 3 + role="cell" aria-label="1"> + 1
-
    #[test]
+
    }
287
-
- 3 -
-
-
    pub fn test_arguments() {
-
-
-
- 288 -
-
- 3 -
-
-
        // Create false argument parameter
-
-
-
- 289 -
-
- 3 -
-
-
        let a = Args {
-
-
-
- 290 -
-
- 3 -
-
-
            character_name: "Bob GZ".to_string(),
-
-
-
- 291 -
-
- 3 -
-
-
            depth: 77,
-
-
-
- 292 -
-
- 3 -
-
-
            desperate: false,
-
-
-
- 293 -
-
- 3 -
-
-
            file_name: "test.toml".to_string(),
-
-
-
- 294 -
-
- 3 -
-
-
            long: false,
-
-
-
- 295 -
-
- 3 -
-
-
            recipe_name: "Belladone".to_string(),
-
-
-
- 296 -
-
- 3 -
-
-
            threads: 11,
-
-
-
- 297 -
-
- 3 -
-
-
            verbose: 1,
-
-
-
- 298 -
-
- 3 -
-
-
        };
-
-
-
- 299 -
-
- 3 -
-
-
        let a2 = a.clone();
-
-
-
- 300 -
-
- 3 -
-
-
        println!("{:?}",a2);
-
-
-
- 301 -
-
- 3 -
-
-
        // Test Custom recipe
-
-
-
- 302 -
-
- 3 -
-
-
        let a3 = Args::parse_from(["ultraman","-r", "recipe","-c","dan","-f","bigfile.toml","-d","45","-t","4","-D","-l","-vvv"]);
-
-
-
- 303 -
-
- 3 -
-
-
        let _ = Args::parse_from(["-V"]);
-
-
-
- 304 -
-
- 3 -
-
-
        let _ = Args::parse_from(["-H"]);
-
-
-
- 305 -
-
- 3 -
-
-
        assert_eq!(a3.recipe_name,"recipe");
-
-
-
- 306 -
-
- 3 -
-
-
        assert_eq!(a3.character_name,"dan");
-
-
-
- 307 -
-
- 3 -
-
-
        assert_eq!(a3.file_name,"bigfile.toml");
-
-
-
- 308 -
-
- 3 -
-
-
        assert_eq!(a3.verbose,3);
-
-
-
- 309 -
-
- 3 -
-
-
        assert_eq!(a3.depth,45);
-
-
-
- 310 -
-
- 3 -
-
-
        assert_eq!(a3.threads,4);
-
-
-
- 311 -
-
- 3 -
-
-
        assert_eq!(a3.desperate,true);
-
-
-
- 312 -
-
- 3 -
-
-
        assert_eq!(a3.long,true);
-
-
-
- 313 -
@@ -5045,6 +4629,422 @@ role="cell">

             
+
+
+ 288 +
+
+ 1 +
+
+
    #[test]
+
+
+
+ 289 +
+
+ 1 +
+
+
    pub fn test_arguments() {
+
+
+
+ 290 +
+
+ 1 +
+
+
        // Create false argument parameter
+
+
+
+ 291 +
+
+ 1 +
+
+
        let a = Args {
+
+
+
+ 292 +
+
+ 1 +
+
+
            character_name: "Bob GZ".to_string(),
+
+
+
+ 293 +
+
+ 1 +
+
+
            depth: 77,
+
+
+
+ 294 +
+
+ 1 +
+
+
            desperate: false,
+
+
+
+ 295 +
+
+ 1 +
+
+
            file_name: "test.toml".to_string(),
+
+
+
+ 296 +
+
+ 1 +
+
+
            long: false,
+
+
+
+ 297 +
+
+ 1 +
+
+
            recipe_name: "Belladone".to_string(),
+
+
+
+ 298 +
+
+ 1 +
+
+
            threads: 11,
+
+
+
+ 299 +
+
+ 1 +
+
+
            verbose: 1,
+
+
+
+ 300 +
+
+ 1 +
+
+
        };
+
+
+
+ 301 +
+
+ 1 +
+
+
        let a2 = a.clone();
+
+
+
+ 302 +
+
+ 1 +
+
+
        println!("{:?}",a2);
+
+
+
+ 303 +
+
+ 1 +
+
+
        // Test Custom recipe
+
+
+
+ 304 +
+
+ 1 +
+
+
        let a3 = Args::parse_from(["ultraman","-r", "recipe","-c","dan","-f","bigfile.toml","-d","45","-t","4","-D","-l","-vvv"]);
+
+
+
+ 305 +
+
+ 1 +
+
+
        let _ = Args::parse_from(["-V"]);
+
+
+
+ 306 +
+
+ 1 +
+
+
        let _ = Args::parse_from(["-H"]);
+
+
+
+ 307 +
+
+ 1 +
+
+
        assert_eq!(a3.recipe_name,"recipe");
+
+
+
+ 308 +
+
+ 1 +
+
+
        assert_eq!(a3.character_name,"dan");
+
+
+
+ 309 +
+
+ 1 +
+
+
        assert_eq!(a3.file_name,"bigfile.toml");
+
+
+
+ 310 +
+
+ 1 +
+
+
        assert_eq!(a3.verbose,3);
+
+
+
+ 311 +
+
+ 1 +
+
+
        assert_eq!(a3.depth,45);
+
+
+
+ 312 +
+
+ 1 +
+
+
        assert_eq!(a3.threads,4);
+
+
+
+ 313 +
+
+ 1 +
+
+
        assert_eq!(a3.desperate,true);
+
314
+
+ 1 +
+
+
        assert_eq!(a3.long,true);
+
+
+
+ 315 +
+
+ +
+
+

+            
+
+
+ 316 +
@@ -5061,38 +5093,6 @@ role="cell">
        // Test default parameters
-
-
- 315 -
-
- 3 -
-
-
        let a4 = Args::parse_from(["bobGZ"]); 
-
-
-
- 316 -
-
- 3 -
-
-
        assert_eq!(a4.recipe_name,"default_recipe");
-
- 3 + role="cell" aria-label="1"> + 1
-
        assert_eq!(a4.character_name,"default_character");
+
        let a4 = Args::parse_from(["bobGZ"]); 
- 3 + role="cell" aria-label="1"> + 1
-
        assert_eq!(a4.file_name,"craft.toml");
+
        assert_eq!(a4.recipe_name,"default_recipe");
- 3 + role="cell" aria-label="1"> + 1
-
        assert_eq!(a4.verbose,0);
+
        assert_eq!(a4.character_name,"default_character");
- 3 + role="cell" aria-label="1"> + 1
-
        assert_eq!(a4.depth,8);
+
        assert_eq!(a4.file_name,"craft.toml");
- 3 + role="cell" aria-label="1"> + 1
-
        assert_eq!(a4.threads,4);
+
        assert_eq!(a4.verbose,0);
- 3 + role="cell" aria-label="1"> + 1
-
        assert_eq!(a4.desperate,false);
+
        assert_eq!(a4.depth,8);
- 3 + role="cell" aria-label="1"> + 1
-
        assert_eq!(a4.long,false);
+
        assert_eq!(a4.threads,4);
- 3 + role="cell" aria-label="1"> + 1 +
+
+
        assert_eq!(a4.desperate,false);
+
+
+
+ 325 +
+
+ 1 +
+
+
        assert_eq!(a4.long,false);
+
+
+
+ 326 +
+
+ 1
@@ -5224,9 +5256,9 @@
- 325 + 327
- 326 + 328
- 3 + role="cell" aria-label="1"> + 1
@@ -5256,14 +5288,14 @@
- 327 + 329
- 3 + role="cell" aria-label="1"> + 1
@@ -5272,9 +5304,9 @@
- 328 + 330
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/src/lib.rs.html b/coverage/html/src/lib.rs.html index d55f9bc..7d6d9fb 100644 --- a/coverage/html/src/lib.rs.html +++ b/coverage/html/src/lib.rs.html @@ -46,8 +46,8 @@
- 3 + role="cell" aria-label="1"> + 1
@@ -4489,7 +4489,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/src/solver.rs.html b/coverage/html/src/solver.rs.html index 7763686..8acb7c9 100644 --- a/coverage/html/src/solver.rs.html +++ b/coverage/html/src/solver.rs.html @@ -3945,7 +3945,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/src/specs.rs.html b/coverage/html/src/specs.rs.html index 93a3392..d2ea3c1 100644 --- a/coverage/html/src/specs.rs.html +++ b/coverage/html/src/specs.rs.html @@ -2217,7 +2217,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/tests/index.html b/coverage/html/tests/index.html index 98978b6..74338e6 100644 --- a/coverage/html/tests/index.html +++ b/coverage/html/tests/index.html @@ -98,7 +98,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/tests/io.rs.html b/coverage/html/tests/io.rs.html index 5e481f6..c7289fb 100644 --- a/coverage/html/tests/io.rs.html +++ b/coverage/html/tests/io.rs.html @@ -46,8 +46,8 @@
- 10 + role="cell" aria-label="11"> + 11
@@ -57,7 +57,7 @@
-

Date: 2023-03-01 03:16

+

Date: 2023-03-01 23:03

diff --git a/coverage/html/tests/lib.rs.html b/coverage/html/tests/lib.rs.html index d3dcf4b..cf779cc 100644 --- a/coverage/html/tests/lib.rs.html +++ b/coverage/html/tests/lib.rs.html @@ -46,8 +46,8 @@
- 10 + role="cell" aria-label="11"> + 11
@@ -57,7 +57,7 @@