peaks-similarity
Version:
Peaks similarity - calculate the similarity between 2 ordered arrays of peaks
29 lines (25 loc) • 591 B
JavaScript
import { describe, it, expect } from 'vitest';
import { Comparator } from '..';
describe('We check that array of points are not converted and are not normalized', () => {
const comparator = new Comparator({});
comparator.setPeaks1([
[],
[],
]);
comparator.setPeaks2([
[],
[],
]);
it('getExtract1', () => {
expect(comparator.getExtract1()).toStrictEqual([
[],
[],
]);
});
it('getExtract2', () => {
expect(comparator.getExtract2()).toStrictEqual([
[],
[],
]);
});
});