I hereby claim:
- I am cyril on github.
- I am cyril (https://keybase.io/cyril) on keybase.
- I have a public key whose fingerprint is 9E6D 8A8E D99B A715 796D B523 0089 4A44 BA96 18B3
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Crypto SHA</title> | |
<meta charset="utf-8" /> | |
<meta content="width=device-width, initial-scale=1" name="viewport" /> | |
<script> | |
function SHA256() { | |
var str = document.getElementById('plainTextGCM').value; |
$ ruby duck_spec.rb | |
..I | |
1. Info: undefined method `sings' for #<Duck:0x007fb60383b740> (NoMethodError). | |
Ran 3 tests in 0.00038 seconds | |
100% compliant - 1 infos, 0 failures, 0 errors |
# duck_spec.rb | |
require_relative 'duck' | |
require 'fix' | |
@bird = Duck.new | |
Fix.describe @bird do | |
on :swims do | |
it { MUST eql 'Swoosh...' } | |
end |
# duck.rb | |
class Duck | |
def walks | |
'Klop klop!' | |
end | |
def swims | |
'Swoosh...' | |
end |
class App | |
def equal?(*) | |
true | |
end | |
end | |
require 'rspec' | |
RSpec.describe App do | |
it 'is the answer to life, the universe and everything' do |
$ rspec wat_spec.rb | |
. | |
Finished in 0.00146 seconds (files took 0.17203 seconds to load) | |
1 example, 0 failures |
I hereby claim:
To claim this, I am signing this object:
module MegaLotto | |
class Configuration | |
attr_accessor :drawing_count | |
def initialize | |
@drawing_count = 6 | |
end | |
end | |
class Drawing |
=begin | |
* 4 substitution box (6x4-bit) | |
* Copyright (c) 2008 Cyril Kato | |
* Code licensed under the BSD License: | |
http://www.opensource.org/licenses/bsd-license.php | |
* version: 1 | |
=end | |
SBOX = [ | |
[ |
require 'minitest/autorun' | |
require_relative 'ascenceur-1' | |
describe Elevator do | |
before do | |
@elevator = Elevator.new | |
end | |
describe "the elevator dashboard" do | |
it "must serve several floors" do |