Sha256: e3e2c24ce6b62a6fc591c47461046d9156f88a55fa6da73af4c5470c5e919c7c

Contents?: true

Size: 1.98 KB

Versions: 5

Compression:

Stored size: 1.98 KB

Contents

=begin
#ocrapi

#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.

OpenAPI spec version: v1

Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: unset

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for CloudmersiveOcrApiClient::OcrPhotoTextElement
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'OcrPhotoTextElement' do
  before do
    # run before each test
    @instance = CloudmersiveOcrApiClient::OcrPhotoTextElement.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of OcrPhotoTextElement' do
    it 'should create an instance of OcrPhotoTextElement' do
      expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::OcrPhotoTextElement)
    end
  end
  describe 'test attribute "text"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "x_left"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "y_top"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "width"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "height"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "confidence_level"' do
    it 'should work' do
       # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloudmersive-ocr-api-client-1.4.0 ./spec/models/ocr_photo_text_element_spec.rb
cloudmersive-ocr-api-client-1.3.9 ./spec/models/ocr_photo_text_element_spec.rb
cloudmersive-ocr-api-client-1.3.8 ./spec/models/ocr_photo_text_element_spec.rb
cloudmersive-ocr-api-client-1.3.7 ./spec/models/ocr_photo_text_element_spec.rb
cloudmersive-ocr-api-client-1.3.5 ./spec/models/ocr_photo_text_element_spec.rb