示例#1
0
 @Test
 public void test1() {
   PowerOf3 p3 = new PowerOf3();
   boolean isPowerOf3 = p3.check(1);
   assertThat(isPowerOf3, is(true));
 }
示例#2
0
 @Test
 public void test19() {
   PowerOf3 p3 = new PowerOf3();
   boolean isPowerOf3 = p3.check(19);
   assertThat(isPowerOf3, is(false));
 }