Sha256: fd1dae6e0c4a8c120ee82d42baa790d0c93f9629386c73d5f0a8b79a8c8d3182
Contents?: true
Size: 449 Bytes
Versions: 4
Compression:
Stored size: 449 Bytes
Contents
require 'minitest/autorun' class CombinePDFRendererTest < Minitest::Test class TestRenderer include CombinePDF::Renderer def test_object(object) object_to_pdf(object) end end def test_numeric_array_to_pdf input = [1.234567, 0.000054, 5, -0.000099] expected = "[1.234567 0.000054 5 -0.000099]".force_encoding('BINARY') actual = TestRenderer.new.test_object(input) assert_equal(expected, actual) end end
Version data entries
4 entries across 4 versions & 1 rubygems