Sha256: 6c3c256650aa0756cb77dfc232507b908d6523bca27663fbbaf2ee4fab9ce564
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
class Liza::StringTest < Liza::RubyTest test :subject_class do assert subject_class == String end test :initializers do s0 = String.new s1 = '' s2 = "" assert s0.class == String assert s1.class == String assert s2.class == String end test :lpartition do todo "write examples" end test :rpartition do todo "write examples" end test :camelcase do assert "" == "".camelcase assert "A" == "a".camelcase assert "Ab" == "ab".camelcase assert "AbC" == "ab_c".camelcase assert "AbCd" == "ab_cd".camelcase assert "Ab" == "ab_".camelcase assert "Cd" == "_cd".camelcase end test :snakecase do assert "" == "".snakecase assert "a" == "A".snakecase assert "ab" == "Ab".snakecase assert "ab_c" == "AbC".snakecase assert "ab_cd" == "AbCd".snakecase end test :rjust_blanks do todo "write examples" end test :rjust_zeroes do todo "write examples" end test :ljust_blanks do todo "write examples" end test :ljust_zeroes do todo "write examples" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lizarb-1.0.4 | lib/liza/ruby_tests/string_test.rb |
lizarb-1.0.3 | lib/liza/ruby_tests/string_test.rb |
lizarb-1.0.2 | lib/liza/ruby_tests/string_test.rb |