예제 #1
0
def test_10():
    assert powerN(10, 3) == 1000
예제 #2
0
def test_1():
    assert powerN(3, 2) == 9
예제 #3
0
def test_8():
    assert powerN(10, 1) == 10
예제 #4
0
def test_9():
    assert powerN(10, 2) == 100
예제 #5
0
def test_0():
    assert powerN(3, 1) == 3
예제 #6
0
def test_7():
    assert powerN(2, 5) == 32
예제 #7
0
def test_6():
    assert powerN(2, 4) == 16
예제 #8
0
def test_5():
    assert powerN(2, 3) == 8
예제 #9
0
def test_4():
    assert powerN(2, 2) == 4
예제 #10
0
def test_3():
    assert powerN(2, 1) == 2
예제 #11
0
def test_2():
    assert powerN(3, 3) == 27