Sha256: 27fd7327391c77ac0218e99b9473832009437899e72f18323f40554deeb5cfd2

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

require 'rubygems'
require 'spec/more'

require 'benchmark'

Bacon.summary_on_exit

module Bacon
  class Context
    def benchmark(width=7, &block)
      if ENV['BENCHMARK']
        Benchmark.bm(width, &block) 
      end
    end
    def assert_equal(x,y)
      x.is y
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ms-in_silico-0.4.2 spec/spec_helper.rb
ms-in_silico-0.4.1 spec/spec_helper.rb
ms-in_silico-0.4.0 spec/spec_helper.rb