- "13.0.0.0.0", This Town Needs Guns
- "Scorn", Primitive Man
- "Pelos Trópicos", Andreia Dias
- "True North", Bad Religion
- "This World is Dead", Blockheads
- "That Day Last November", Our Ceasing Voice
- "Target Earth", Voivod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin | |
.classpath | |
.project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--format nested | |
--color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Conta | |
def initialize(nome_correntista, numero) | |
@nome_correntista, @numero = nome_correntista, numero | |
@saldo = 0 | |
end | |
attr_reader :saldo, :nome_correntista, :numero | |
def depositar(valor) | |
@saldo += valor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exercicio01; | |
public class Bola { | |
private String cor; | |
public Bola(String cor) { | |
this.cor = cor; | |
} | |
public String getCor() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exercicio06; | |
public class TV { | |
public static final int PRIMEIRO_CANAL = 1; | |
public static final int ULTIMO_CANAL = 60; | |
private boolean ligada; | |
private int canal; | |
private int volume; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exercicio06; | |
public class TV { | |
public static final int PRIMEIRO_CANAL = 1; | |
public static final int ULTIMO_CANAL = 60; | |
private boolean ligada; | |
private int canal; | |
private int volume; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Numero { | |
public long fatorial(long n) { | |
if (n == 0) | |
return 1; | |
return n * fatorial(n - 1); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Arquivo fatorial_spec.rb | |
require './fatorial' | |
describe 'fatorial' do | |
it 'calcula fatorial' do | |
fatorial(0).should == 1 | |
fatorial(1).should == 1 | |
fatorial(2).should == 2 | |
fatorial(3).should == 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Exemplos de testes (emulando o modo procedural) em Java */ | |
/* Arquivo: FatorialTest.java */ | |
package exercicio13; | |
import static exercicio13.Fatorial.fatorial; | |
import static org.junit.Assert.*; | |
import org.junit.Test; |