Sha256: c5c3b30dcfa98cda08aaf1107be60ae908435d2f62d1b91c5dbd54d1cb42c0ad
Contents?: true
Size: 668 Bytes
Versions: 3
Compression:
Stored size: 668 Bytes
Contents
require 'bigbench' require 'rack' require 'active_support/all' require 'net/http' require 'eventmachine' require 'em-http' module Helpers def validate_normal_distribution distribution center_index, y = (distribution.x.size / 2), distribution.y highest_value = y[center_index] + 1 current_value = 0.0 y.each do |value| value.should <= highest_value end true end end RSpec.configure do |config| config.include Helpers config.treat_symbols_as_metadata_keys_with_true_values = true config.before(:each) { BigBench::Configuration.reset! BigBench::Benchmark.reset! BigBench::PostProcessor.reset! } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bigbench-0.0.6 | spec/helpers.rb |
bigbench-0.0.5 | spec/helpers.rb |
bigbench-0.0.4 | spec/helpers.rb |