Sha256: 3ed3500ad7fd24023e894057d35f5f21f496d1997b4a9a5fc2c5ed0cb0d3013e
Contents?: true
Size: 481 Bytes
Versions: 40
Compression:
Stored size: 481 Bytes
Contents
require 'test_helper' class Sparkql::Geo::RecordRadiusTest < Test::Unit::TestCase def test_valid_record_id assert Sparkql::Geo::RecordRadius.valid_record_id?("20100000000000000000000000") ["2010000000000000000000000", "201000000000000000000000000", "test", "12.45,-96.5"].each do |bad_record_id| assert !Sparkql::Geo::RecordRadius.valid_record_id?(bad_record_id), "'#{bad_record_id}' should not be a valid record_id" end end end
Version data entries
40 entries across 40 versions & 1 rubygems