Sha256: 2f1bf26a620213d1ce196eb2290e2774ee49af94cb13d1ccc21537f8d7a42a17
Contents?: true
Size: 570 Bytes
Versions: 59
Compression:
Stored size: 570 Bytes
Contents
# encoding: ascii-8bit # Copyright 2014 Ball Aerospace & Technologies Corp. # All Rights Reserved. # # This program is free software; you can modify and/or redistribute it # under the terms of the GNU General Public License # as published by the Free Software Foundation; version 3 with # attribution addendums as found in the LICENSE.txt require 'spec_helper' require 'cosmos/core_ext/range' describe Range do describe "to_a_to_f" do it "converts a Range to an array of floats" do expect((1..5).to_a_to_f).to eql [1.0,2.0,3.0,4.0,5.0] end end end
Version data entries
59 entries across 59 versions & 1 rubygems