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
require 'spec_helper' | |
describe MerchantAccount do | |
it "can find an appropriate merchant" do | |
{ | |
'GND130415A' => 'GRAZ_1', | |
'MIS130417A' => 'GRAZ_2', | |
'ROA130417A' => 'GRAZ_2', | |
'LON130417A' => 'GRAZ_3', | |
}.each do |tour_code, expected_merchant_account_descriptor| |
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 BNRMapPoint | |
attr_reader :coordinate, :title | |
def initialize(coordinate, title) | |
@coordinate, @title = coordinate, title | |
end | |
end |
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
ssd_map = [ | |
[1,1,1,0,1,1,1], #0 | |
[0,0,1,0,0,1,0], #1 | |
[1,0,1,1,1,0,1], #2 | |
[1,0,1,1,0,1,1], #3 | |
[0,1,1,1,0,1,0], #4 | |
[1,1,0,1,0,1,1], #5 | |
[1,1,0,1,1,1,1], #6 | |
[1,0,1,0,0,1,0], #7 | |
[1,1,1,1,1,1,1], #8 |
NewerOlder