Sha256: 833dcd6aec3c052ba8ff6b882c19d25af888c178002faf24d1634b7b57e97532
Contents?: true
Size: 457 Bytes
Versions: 13
Compression:
Stored size: 457 Bytes
Contents
require 'gir_ffi_test_helper' describe GLib::ByteArray do it 'can succesfully be created with GLib::ByteArray.new' do ba = GLib::ByteArray.new assert_instance_of GLib::ByteArray, ba end it 'allows strings to be appended to it' do ba = GLib::ByteArray.new ba.append 'abdc' pass end it 'has a working #to_string method' do ba = GLib::ByteArray.new ba = ba.append 'abdc' assert_equal 'abdc', ba.to_string end end
Version data entries
13 entries across 13 versions & 1 rubygems