diff --git a/Data/Polls.csv b/Data/Polls.csv index 4ef54bd..c0544f1 100644 --- a/Data/Polls.csv +++ b/Data/Polls.csv @@ -1,4 +1,7 @@ PublYearMonth,Company,M,L,C,KD,S,V,MP,SD,FI,Uncertain,n,PublDate,collectPeriodFrom,collectPeriodTo,approxPeriod,house +2023-sep,Indikator,18.4,3.0,4.0,2.6,38.6,7.6,5.2,19.0,NA,NA,2041,2023-09-22,2023-09-01,2023-09-22,FALSE,Indikator +2023-sep,Ipsos,17,4,5,3,36,8,5,20,NA,NA,1366,2023-09-12,2023-09-26,2023-09-24,FALSE,Ipsos +2023-sep,Novus,19.1,3.0,3.9,3.7,37.0,7.8,5.7,18.2,NA,9.1,2907,2023-09-22,2023-08-21,2023-09-17,FALSE,Novus 2023-sep,Demoskop,20.9,2.6,4.3,3.7,36.9,7.2,3.1,19.0,NA,NA,2462,2023-09-07,2023-08-21,2023-09-05,FALSE,Demoskop 2023-sep,Kantar,19.0,3.0,3.9,3.1,37.6,7.6,4.3,19.7,NA,NA,NA,2023-09-07,2023-08-21,2023-09-03,FALSE,Sifo 2023-aug,Ipsos,18.9,3.3,5.5,3.7,36.4,7.4,4.5,18.2,NA,NA,1566,2023-08-29,2023-08-15,2023-08-27,FALSE,Ipsos diff --git a/polls.test.js b/polls.test.js index 14e7550..3f2a53b 100755 --- a/polls.test.js +++ b/polls.test.js @@ -59,8 +59,8 @@ test('Newer poll trends make sense', () => { expect(parties['L'], `L in (${poll}) has less than 2.0% support`).toBeGreaterThan(1.9) expect(parties['L'], `L in (${poll}) has more than 7.7% support`).toBeLessThan(7.7) - expect(parties['KD'], `KD in (${poll}) has less than 3.1% support`).toBeGreaterThan(3.0) - expect(parties['KD'], `KD in (${poll}) has more than 10.5% support`).toBeLessThan(10.5) + expect(parties['KD'], `KD in (${poll}) has less than 2.6% support`).toBeGreaterThan(2.5) + expect(parties['KD'], `KD in (${poll}) has more than 7.5% support`).toBeLessThan(7.5) expect(parties['C'], `C in (${poll}) has less than 3.7% support`).toBeGreaterThan(3.7) expect(parties['C'], `C in (${poll}) has more than 12% support`).toBeLessThan(12)