JUnit 单元测试: 测试 is_comment 方法
@Test public void testIsComment() { // test case 1 String input1 = '#comment'; assertTrue(is_comment(input1));
// test case 2 String input2 = 'not a comment'; assertFalse(is_comment(input2)); }
原文地址: https://www.cveoy.top/t/topic/nruR 著作权归作者所有。请勿转载和采集!