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
<?php | |
/** | |
* Description of VerificaPalavra | |
* | |
* @author | |
* Marco Moura | |
* Rafael | |
* Patricia | |
* Luciana | |
* Natalia |
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
<?php | |
/** | |
* @author | |
* Marco Moura | |
* Rafael | |
* Patricia | |
* Natalia | |
* Carlos | |
*/ |
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 javaapplication1; | |
/* | |
* kata feito no coding dojo na FATEC-GT | |
*/ | |
/** | |
* | |
* @author @MarcoMoura | |
* @author Marco Rocca |
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
/# | |
kata feito no coding dojo na Canção Nova | |
@data 15-09-10 | |
@author Matheus Muller - @me_muller | |
@author Natália Martins - @nati57 | |
@author Carlos Eduardo - @carlos_tumulto | |
@author Luciana Mendes - @lucihana | |
@author Rafael Salomão - @razzi | |
@author Patricia Carvalho - @patfcarv |
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
/# | |
kata feito no coding dojo na Canção Nova | |
@data 08-09-10 | |
@author Matheus Muller - @me_muller | |
@author Natália Martins - @nati57 | |
@author Carlos Eduardo - @carlos_tumulto | |
@author Luciana Mendes - @lucihana | |
@author Rafael Salomão - @razzi | |
@author Patricia Carvalho - @patfcarv |
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
#@author Rafael Salomao <rafaelgavazzi at gmail.com> | |
#@author Natalia Marcondes < natalia.marcondes at gmail.com> | |
#@author Marco Moura <email at marcomoura.com> | |
#@author Luciana Mendes <super.luci at gmail.com> | |
#@author Carlos Eduardo <kaddxxi at gmail.com> | |
#@author Patricia Carvalho <patfcarv at gmail.com> | |
class Dinostratus: | |
@staticmethod |
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
# language: pt | |
# features/dicionario.feature | |
# @author Marco Moura <email at marcomoura.com> | |
# @author Luciana Mendes <super.luci at gmail.com> | |
# @author Rafael Salomao <rafaelgavazzi at gmail.com> | |
# @author Patricia Carvalho <patfcarv at gmail.com> | |
# @author Carlos Eduardo <kaddxxi at gmail.com> | |
Funcionalidade: Dicionary Replace |
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
# lib/game.rb | |
class Game | |
def initialize() | |
@royal_flush = %w(dez valete dama reis as) | |
@straight_flush = %w(quatro cinco seis sete oito) | |
end | |
def cards(*card) |
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
# language: pt | |
# features/poker.feature | |
Funcionalidade: Detectar jogada de Poker | |
Para jogar poker | |
E com um baralho com um naipe apenas | |
Como um jogador | |
Eu quero ver as possíveis combinações | |
Cenario: Royal flush |
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
#http://eggsonbread.com/2010/03/28/my-rspec-best-practices-and-tips/ | |
describe User do | |
subject { user } | |
let(:user) { User.new } | |
context "when name empty" do | |
it { should_not be_valid } | |
specify { user.save.should be_false } | |
end |
OlderNewer