diff --git a/README.md b/README.md
index 5b0f4ff..1c01d53 100644
--- a/README.md
+++ b/README.md
@@ -47,11 +47,9 @@ python: >=3.9
pip install phitter
```
-
-
## Usage
-### ***1. Fit Notebook's Tutorials***
+### **_1. Fit Notebook's Tutorials_**
| Tutorial | Notebooks |
| :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
@@ -61,23 +59,16 @@ pip install phitter
| **Fit Specific Disribution** | |
| **Working Distribution** | |
-### ***2. Simulation Notebook's Tutorials***
-pending
-
-## Documentation
-
-
-
-
+### **_2. Simulation Notebook's Tutorials_**
+Pending
+## Documentation
Documentation Fit Module
-
-
### General Fit
```python
@@ -489,19 +480,9 @@ distribution.mode # -> 733.3333333333333
-
-
-
-
-
-
-
-
Documentation Simulation Module
-
-
## Process Simulation
This will help you to understand your processes. To use it, run the following line
@@ -518,8 +499,8 @@ simulation = simulation.ProcessSimulation()
There are two ways to add processes to your simulation instance:
-- Adding a **process _without_ preceding process (new branch)**
-- Adding a **process _with_ preceding process (with previous ids)**
+- Adding a **process _without_ preceding process (new branch)**
+- Adding a **process _with_ preceding process (with previous ids)**
#### Process _without_ preceding process (new branch)
diff --git a/tests/pytest/test_process_simulation.py b/tests/pytest/test_process_simulation.py
index 7f6d9f6..10d06b9 100644
--- a/tests/pytest/test_process_simulation.py
+++ b/tests/pytest/test_process_simulation.py
@@ -1,5 +1,6 @@
import pytest
import phitter
+import pandas as pd
# Test that adding a process with a wrong function name raises a ValueError
@@ -55,10 +56,11 @@ def test_simulation_running():
previous_ids=["fifth", "sixth", "ni_idea_2"],
)
- result = simulation.run(10)
+ result = simulation.run(100)
- assert len(result) == 10
- assert isinstance(result, list)
+ assert isinstance(result, pd.DataFrame)
+ assert len(result["Total Simulation Time"]) == 100
+ assert len(result.columns) == 11
# Test to check if the confidence interval results are as expected
@@ -103,5 +105,5 @@ def test_simulation_confidence_interval():
result = simulation.run_confidence_interval(number_of_simulations=100)
- assert len(result) == 4
- assert isinstance(result, tuple)
+ assert len(result.columns) == 4
+ assert isinstance(result, pd.DataFrame)