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

Version Path
sparkql-1.2.8 test/unit/geo/record_circle_test.rb
sparkql-1.2.7 test/unit/geo/record_circle_test.rb
sparkql-1.2.6 test/unit/geo/record_circle_test.rb
sparkql-1.2.5 test/unit/geo/record_circle_test.rb
sparkql-1.2.4 test/unit/geo/record_circle_test.rb
sparkql-1.2.3 test/unit/geo/record_circle_test.rb
sparkql-1.2.2 test/unit/geo/record_circle_test.rb
sparkql-1.2.1 test/unit/geo/record_circle_test.rb
sparkql-1.2.0 test/unit/geo/record_circle_test.rb
sparkql-1.1.17 test/unit/geo/record_circle_test.rb
sparkql-1.1.16 test/unit/geo/record_circle_test.rb
sparkql-1.1.15 test/unit/geo/record_circle_test.rb
sparkql-1.1.14 test/unit/geo/record_circle_test.rb
sparkql-1.1.13 test/unit/geo/record_circle_test.rb
sparkql-1.1.12 test/unit/geo/record_circle_test.rb
sparkql-1.1.11 test/unit/geo/record_circle_test.rb
sparkql-1.1.10 test/unit/geo/record_circle_test.rb
sparkql-1.1.9 test/unit/geo/record_circle_test.rb
sparkql-1.1.8 test/unit/geo/record_circle_test.rb
sparkql-1.1.7 test/unit/geo/record_circle_test.rb