Skip to content

Commit

Permalink
fix tests that are now backward
Browse files Browse the repository at this point in the history
  • Loading branch information
randytpierce committed Jan 24, 2024
1 parent ab82568 commit 29e53fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/builder/TestTwoSampleTTestBuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func TestTwoSampleTTestBuilder_test_neagtive_2(t *testing.T) {
if err != nil {
t.Fatal(fmt.Sprint("TestTwoSampleTTestBuilder_test_2 - computeSignificance - error message : ", err))
}
if cellPtr.value != -2 {
if cellPtr.value != 2 {
t.Fatal("test_2_wrong value :", cellPtr.value)
}
}
Expand Down Expand Up @@ -224,7 +224,7 @@ func TestTwoSampleTTestBuilder_test_1(t *testing.T) {
t.Fatal(fmt.Sprint("TestTwoSampleTTestBuilder_test_1 - computeSignificance - error message : ", err))
}
fmt.Println("Pval is", cellPtr.pvalue, "value is ", cellPtr.value)
if cellPtr.value != 2 {
if cellPtr.value != -2 {
t.Fatal("test_1 wrong value :", cellPtr.value)
}
}
Expand Down Expand Up @@ -281,7 +281,7 @@ func TestTwoSampleTTestBuilder_test_0(t *testing.T) {
t.Fatal(fmt.Sprint("TestTwoSampleTTestBuilder_test_0 - computeSignificance - error message : ", err))
}
fmt.Println("Pval is", cellPtr.pvalue, "value is ", cellPtr.value)
if cellPtr.value != -2 {
if cellPtr.value != 2 {
t.Fatal("test_0 wrong value :", cellPtr.value)
}
}
Expand Down Expand Up @@ -389,7 +389,7 @@ func TestTwoSampleTTestBuilder_test__match_ctl_short_1(t *testing.T) {
t.Fatal(fmt.Sprint("TestTwoSampleTTestBuilder_test_1 - computeSignificance - error message : ", err))
}
fmt.Println("Pval is", cellPtr.pvalue, "value is ", cellPtr.value)
if cellPtr.value != 2 {
if cellPtr.value != -2 {
t.Fatal("test_1 wrong value :", cellPtr.value)
}
}
Expand Down Expand Up @@ -448,7 +448,7 @@ func TestTwoSampleTTestBuilder_test__match_exp_short_1(t *testing.T) {
t.Fatal(fmt.Sprint("TestTwoSampleTTestBuilder_test_1 - computeSignificance - error message : ", err))
}
fmt.Println("Pval is", cellPtr.pvalue, "value is ", cellPtr.value)
if cellPtr.value != 2 {
if cellPtr.value != -2 {
t.Fatal("test_1 wrong value :", cellPtr.value)
}
}
Expand Down

0 comments on commit 29e53fe

Please sign in to comment.