From 648a7d5e29906a9323821a0578406697a5cdc80e Mon Sep 17 00:00:00 2001 From: Joachim Desroches Date: Tue, 31 Oct 2023 20:39:35 +0100 Subject: [PATCH] Add kotest and property-based tests for number formatting. Found some nice corner cases, like handling of e.g. PLUS_INFINITY or -0.0 --- plugin/.run/Run Tests.run.xml | 4 +- plugin/build.gradle.kts | 16 +++- .../toolwindow/shared/QuantityRendererTest.kt | 92 +++++++------------ 3 files changed, 50 insertions(+), 62 deletions(-) diff --git a/plugin/.run/Run Tests.run.xml b/plugin/.run/Run Tests.run.xml index 85f2bcbd7..a915cbcee 100644 --- a/plugin/.run/Run Tests.run.xml +++ b/plugin/.run/Run Tests.run.xml @@ -11,7 +11,7 @@