From 6291a7b215adf65ec547b33121ffed0bc0ca9a6f Mon Sep 17 00:00:00 2001 From: zeekling Date: Tue, 15 Sep 2020 22:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=95=BF=E6=95=B4=E5=BD=A2?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/zeekling/redis/RedisPoolTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/java/com/zeekling/redis/RedisPoolTest.java b/src/test/java/com/zeekling/redis/RedisPoolTest.java index a24b462..ee821d8 100644 --- a/src/test/java/com/zeekling/redis/RedisPoolTest.java +++ b/src/test/java/com/zeekling/redis/RedisPoolTest.java @@ -54,6 +54,17 @@ public class RedisPoolTest { System.out.println("--------------end test string--------------------"); } + @Test + public void testLong(){ + System.out.println("--------------begin test long--------------------"); + double score = Math.E; + System.out.println(score); + jedis.set("score", String.valueOf(score)); + double res = Double.parseDouble(jedis.get("score")); + System.out.println(res); + System.out.println("--------------end test long--------------------"); + } + @Test public void testMap() { System.out.println("--------------begin test map--------------------");