Sha256: 4a9f357b9e50bd567b112eafebd4ff9d141dcc6ec1fac4b68198b304bd0436a2

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

# require "minitest/autorun"
# require "storazzo"

# class StorazzoTest < Minitest::Test
#     def test_storazzo_hi_with_argument
#         assert_match "Hello from Storazzo", Storazzo::Main.say_hi("ruby this should fail")
#         assert_match "ruby this should fail", Storazzo::Main.say_hi("ruby this should fail")
#     end
#     def test_storazzo_hi_without_argument
#         assert_match "Hello from Storazzo", Storazzo::Main.say_hi()
#     end

#     def test_storazzo_version_should_have_3_numbers_and_2_dots
# #        puts Storazzo::version
#         assert_equal Storazzo::version.split('.').size , 3, "should be 3 parts, like A.B.C"
#         #major, minor, minuscule = Storazzo::VERSION.split('.')
# #        assert_match Storazzo::VERSION, "....."
#     end

# #   def test_english_hello
# #     assert_equal "hello world",
# #       Hola.hi("english")
# #   end

# #   def test_any_hello
# #     assert_equal "hello world",
# #       Hola.hi("ruby")
# #   end

# #   def test_spanish_hello
# #     assert_equal "hola mundo",
# #       Hola.hi("spanish")
# #   end
# end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
storazzo-0.3.7 test/test_storazzo.rb
storazzo-0.3.5 test/test_storazzo.rb
storazzo-0.3.1 test/test_storazzo.rb