package com.fanruan.api.util; import org.junit.Assert; import org.junit.Test; import static org.junit.Assert.*; public class StableKitTest { @Test public void canBeFormula() { String s1 = "=1"; String s2 = "=a+b+"; String s3 = "ppp"; Assert.assertTrue(StableKit.canBeFormula(s1)); Assert.assertTrue(StableKit.canBeFormula(s2)); Assert.assertFalse(StableKit.canBeFormula(s3)); } }