Sha256: fd04f3d3b485481926d70a6bf4a2e0d60688af8105e2cda80828d1a07e8bf852

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

# coding: utf-8

require 'test_helper'

class Thinreports::Core::Shape::Text::TestInternal < Minitest::Test
  include Thinreports::TestHelper
  
  Text = Thinreports::Core::Shape::Text
  
  def create_internal(format_config = {})
    report = new_report('layout_text1.tlf')
    Text::Internal.new(report.start_new_page, Text::Format.new(format_config))
  end
  
  def test_type_of?
    assert create_internal.type_of?(:text), true
    refute create_internal.type_of?(:basic), false
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thinreports-0.8.2 test/unit/core/shape/text/test_internal.rb
thinreports-0.8.1 test/unit/core/shape/text/test_internal.rb
thinreports-0.8.0 test/unit/core/shape/text/test_internal.rb