Bryan Boreham
|
d550c4a0b9
|
[COMMENT] Improve comment on almost.Equal; add tests
At first it wasn't obvious to me why the first check would give a
different result to the second.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2024-08-30 10:13:00 +01:00 |
|
Ziqi Zhao
|
87eab0aaad
|
fix golang lint
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
|
2024-08-23 09:32:04 +08:00 |
|
Ziqi Zhao
|
c7c4a5c347
|
add helper function to compare native histograms in testing
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
|
2024-08-23 09:28:31 +08:00 |
|
Ziqi Zhao
|
8f828d45c1
|
convert TestNativeHistogram_Sum_Count_Add_AvgOperator into testing framework
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
|
2024-08-21 09:24:50 +08:00 |
|
Bryan Boreham
|
a1af3c27d4
|
refactor: extract almost.Equal() to new package
To avoid a circular reference between promql and promqltest.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2024-05-08 13:42:10 +01:00 |
|