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
[TestFixture] | |
public class IdVerificationTests | |
{ | |
[Test,TestCaseSource(typeof(IdVerificationTestFactory), nameof(IdVerificationTestFactory.ItShouldVerifyTheseCustomers))] | |
public void Should_verify_customer_identity(Customer customer, Country country, | |
bool responseCode) | |
{ | |
given_an_idverification_request(customer, country); | |
when_idverification_is_requested(); | |
then_it_should_have_verified_customer(responseCode); |
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
[Test, TestCaseSource(typeof(OneNineTwoTestFactory), nameof(OneNineTwoTestFactory.CustomersThatCanBeVerified))] | |
public void given_an_idverification_request_that_should_return_positive(OneNineTwoRequest oneNineTwoRequest) | |
{ | |
given_a_one_nine_two_request(oneNineTwoRequest); | |
when_an_id_verification_via_oneNineTwo_is_made(); | |
then_it_should_successfully_verify_id(); | |
} |
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
#define CONTRACTS_FULL | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics.Contracts; | |
using NUnit.Framework; | |
namespace EnergyQuoteService | |
{ | |
class Program |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Vital.PrevidenciaFechada.DTO.Messages; | |
namespace FileManagementPerformancetest | |
{ |
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
/// <summary> | |
/// Valida um número de cpf | |
/// </summary> | |
/// <param name="proposta">Dados da proposta</param> | |
/// <returns>PropostaVO</returns> | |
public override PropostaVO Validar(PropostaVO proposta) | |
{ | |
if (!proposta.CpfDoParticipante.CpfValido()) | |
proposta = proposta.InformarCritica("Cpf está inválido", "Cpf"); |
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
/********************************************* | |
P2, Instituto Infnet, Prof. Cleuton Sampaio | |
Alunos: Rodrigo Caldas de Moura Duarte | |
Thyago de Luca Silva Costa (d0j0 guy) | |
*********************************************/ | |
/* PROFESSOR, ESTE É UM CODE DE QUEM FAZ DOJO! | |
ENTRADA: |
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 com.swissbank.controller; | |
public class ContaCorrente { | |
private int numero; | |
private int saldo; | |
public void depositar() { | |
} |
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 Atom { | |
private final int atomValue; | |
public Atom() { | |
this.atomValue = (int) (1+Math.random()*1000); | |
} | |
public Atom(int playerInput) { |
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
<form id="jogoMemo" name="jogoMemo" method="post" action=""> | |
<table width="396" border="0" cellpadding="3" cellspacing="3"> | |
<tr> | |
<td width="196">Qual é o <b>[NÚMERO]</b> valor?</td> | |
<td width="186"><input type="text" name="textfield" id="textfield" /> | |
</td> | |
</tr> | |
<tr> | |
<td><input type="hidden" name="segredo" id="segredo" /></td> | |
<td><input type="submit" name="enviar" id="enviar" value="Enviar!" /></td> |
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
/* GEC2010N-05 / JAVA III | |
* Prof. Tomás de Aquino Tinoco Botelho | |
*/ | |
package trabjava31; | |
/** | |
* @author EQUIPE ROCKET w/ much help of Deitel and internet! | |
*/ |
NewerOlder