sasaki77 / archiverappliance-datasource

EPICS Archiver Appliance plugin for Grafana dashboard
https://sasaki77.github.io/archiverappliance-datasource
MIT License
14 stars 7 forks source link

TST: add test for 1-length input to fluctutaion funciton #46

Closed n-wbrown closed 3 years ago

n-wbrown commented 3 years ago

This is to add a test for the fluctuation function for entries with only one data point. Given that the delta function experienced a bug with single-data-point sets, I thought it would make sense to check for it in the fluctuation function as well. Fortunately the bug does not exist there so I'm just adding the test by itself.