Skip to content

Commit

Permalink
Merge 8f17a63 into 843dd91
Browse files Browse the repository at this point in the history
  • Loading branch information
dsietz authored Nov 16, 2021
2 parents 843dd91 + 8f17a63 commit 4e3fe49
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ or production environment (option #1 above)

## What's New

Here's whats new in 0.3.1:
Here's what's new in 0.3.1:
+ [Fix for issue #90](https://github.com/dsietz/test-data-generation/issues/90)
> Every effort has been made to automatically convert to the latest version of the DSP object when loading from a saved dsp file from a prior version, (e.g.: 0.2.1), however, it is not guaranteed.
+ [Added issue #91](https://github.com/dsietz/test-data-generation/issues/91)
> Optional paramters for setting the delimiter when analyzing and generating csv files.
> Optional parameters for setting the delimiter when analyzing and generating csv files.
+ [Fixed issue #93](https://github.com/dsietz/test-data-generation/issues/93)

## About
Expand All @@ -62,7 +62,7 @@ The algorithm is built on the bases of:

## Usage

The are multiple ways to use the Test Data Generation library. It all depends on your intent.
There are multiple ways to use the Test Data Generation library. It all depends on your intent.

### Profile

Expand Down Expand Up @@ -171,7 +171,7 @@ This library comes with the following examples. To run the examples.
> `cargo run --example 01_demo`
+ [Demo 2](https://github.com/dsietz/test-data-generation/blob/master/examples/02_demo.rs) : Demonstrates the basic feature of the library to generate dates and people's names from a CSV file.
> `cargo run --example 02_demo`
+ [Demo 3](https://github.com/dsietz/test-data-generation/blob/master/examples/03_demo.rs) : Demonstrates the ability to conitnuously add new analyzed data to an existing profile.
+ [Demo 3](https://github.com/dsietz/test-data-generation/blob/master/examples/03_demo.rs) : Demonstrates the ability to continuously add new analyzed data to an existing profile.
> `cargo run --example 03_demo`
## How to Contribute
Expand Down
2 changes: 1 addition & 1 deletion src/data_sample_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
//! Load an algorithm ...
//!
//! Create a data sample parser from a previously saved (exported) archive file so you can generate test data based on the algorithm.</br>
//! *NOTE:* In this example, there was only one data point in the data smaple that was analyzed (the word 'OK'). This was intentional
//! *NOTE:* In this example, there was only one data point in the data sample that was analyzed (the word 'OK'). This was intentional
//! so the algorithm would be guaranteed to generate that same word. This was done ensure the assert_eq! returns true.
//!
//! ```
Expand Down
10 changes: 5 additions & 5 deletions src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ impl PatternDefinition {
///
/// # Arguments
///
/// * `entity: String` - The textual str of the value to anaylze.</br>
/// * `entity: String` - The textual str of the value to analyze.</br>
///
/// # Example
///
Expand Down Expand Up @@ -330,7 +330,7 @@ impl PatternDefinition {
///
/// # Arguments
///
/// * `entity: String` - The textual str of the value to anaylze.</br>
/// * `entity: String` - The textual str of the value to analyze.</br>
/// * `idx: u32` - The index that specifies the position of the char in the entity to convert to a Fact.</br>
///
/// # Example
Expand Down Expand Up @@ -482,14 +482,14 @@ pub trait Engine {
results.push(match rx.recv() {
Ok(result) => result,
Err(_) => {
error!("Error: Could not anaylze the entity: {}", entity);
panic!("Error: Could not anaylze the data!")
error!("Error: Could not analyze the entity: {}", entity);
panic!("Error: Could not analyze the data!")
}
});
}

for child in children {
child.join().expect("Error: Could not anaylze the data!");
child.join().expect("Error: Could not analyze the data!");
}

results
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ impl Profile {
///
/// # Arguments
///
/// * `entity: String` - The textual str of the value to anaylze.</br>
/// * `entity: String` - The textual str of the value to analyze.</br>
///
/// # Example
///
Expand Down

0 comments on commit 4e3fe49

Please sign in to comment.