Skip to content

Instantly share code, notes, and snippets.

@domgreen
Created April 16, 2011 16:43
Show Gist options
  • Save domgreen/923268 to your computer and use it in GitHub Desktop.
Save domgreen/923268 to your computer and use it in GitHub Desktop.
IronRuby test to call into C#
require "test/unit"
require "IronRubyMine/bin/Debug/IronRubyMine.dll"
class PersonTest < Test::Unit::TestCase
include IronRubyMine
def test_create_person_called_dominic
dominic = Person.new("Dominic")
assert_not_nil(dominic)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment