@Test public void testIsKeyword() { //测试输入为关键字的情况 String keyword = "if"; assertTrue(isKeyword(keyword));

//测试输入不为关键字的情况
String notKeyword = "hello";
assertFalse(isKeyword(notKeyword));

}

标签: 科技


原文地址: https://cveoy.top/t/topic/ceBd 著作权归作者所有。请勿转载和采集!