File: ruby-tests.rb

package info (click to toggle)
ruby-uconv 0.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,716 kB
  • ctags: 197
  • sloc: ansic: 161,247; ruby: 44,420; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 193 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
ARGV.push('-v')
require 'test/unit'
require 'uconv'

class UconvTest < Test::Unit::TestCase

  def test_utf8_utf16_roundrip
    assert_equal "á", Uconv.u16tou8(Uconv.u8tou16("á"))
  end

end