Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lmickes committed Jan 6, 2025
1 parent d301ba1 commit 5835c4a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_06_fitting_test1_csv_set_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ def test_06_fitting_test1_csv_set_parameters_print_parameters():
mf = pyWitness.ModelFitIndependentObservation(dp)
mf.printParameters()

def test_06_fitting_test1_csv_set_parameters_set_equal_var():
import pyWitness
dr = pyWitness.DataRaw("../data/tutorial/test1.csv")
dr.collapseContinuousData(column="confidence", bins=[-1, 60, 80, 100], labels=[1, 2, 3])
dp = dr.process()
mf.setEqualVariance()
mf.setParameterEstimates()
mf.printParameters()

0 comments on commit 5835c4a

Please sign in to comment.