diff --git a/src/test/java/com/guaiguailang/harmony/HarmonyLifeServerApplicationTests.java b/src/test/java/com/guaiguailang/harmony/HarmonyLifeServerApplicationTests.java index 4c3cf23..cc22269 100644 --- a/src/test/java/com/guaiguailang/harmony/HarmonyLifeServerApplicationTests.java +++ b/src/test/java/com/guaiguailang/harmony/HarmonyLifeServerApplicationTests.java @@ -15,36 +15,4 @@ class HarmonyLifeServerApplicationTests { void testEmailSentUtil() { utilEmailSent.sendCode("2952458479@qq.com"); } - @Test - void test(){ - // 创建 BigDecimal 对象 - BigDecimal a = new BigDecimal("3"); - BigDecimal b = new BigDecimal("0.1"); - - // 执行乘法运算 - BigDecimal result = a.multiply(b); - - // 输出结果 - System.out.println("Result: " + result); - - // 比较结果是否等于 0.3 - BigDecimal target = new BigDecimal("0.3"); - boolean isEqual = result.compareTo(target) == 0; - System.out.println("Is the result equal to 0.3? " + isEqual); - } - @Test - void Test2(){ - int a = 10; - Scanner input = new Scanner(System.in); - int num = input.nextInt(); //输入15 - System.out.println(num + a); // 15+10 - - short s =1 +2; - char c =59; -// float f =1.0 +1; - - - } - - }