Skip to content

Commit abd6c94

Browse files
committed
Remove require ExponenciacaoTest
1 parent 9a8ea85 commit abd6c94

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/ruby/exponenciacao.rb

-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,5 @@ def exponenciacao(base, expoente)
66
result
77
end
88

9-
# Teste Manual
109
puts exponenciacao(5, 2)
1110
puts exponenciacao(5, 5)
12-
13-
# Teste Automatizado
14-
require_relative 'ExponenciacaoTest'

src/ruby/exponenciacao_recursiva.rb

-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,5 @@ def exponenciacao(base, expoente)
66
base * exponenciacao(base, expoente.pred)
77
end
88

9-
# Teste Manual
109
puts exponenciacao(5, 2)
1110
puts exponenciacao(5, 5)
12-
13-
# Teste Autmatizado
14-
require_relative 'ExponenciacaoTest'

0 commit comments

Comments
 (0)