We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95baf82 commit ad77f20Copy full SHA for ad77f20
tests/cochran.test.ts
@@ -76,4 +76,19 @@ describe('Cochran Algorithm', () => {
76
expect(output?.outlierIndexes).toContain(0);
77
expect(output?.outlierIndexes).toContain(5);
78
})
79
+
80
+ it('Cochran Algorithm Test (New Values)', () => {
81
+ const samples = [
82
+ [1, 1],
83
84
85
86
87
88
89
+ ];
90
91
+ const output = Cochran(samples);
92
+ expect(output?.hasOutliers).toBe(false); // Adjust the expectation based on your algorithm's behavior
93
+ });
94
});
0 commit comments