# This file was automatically generated by Trapeze, the safety-net generator for
# Ruby. Visit http://trapeze.rubyforge.org/ for more information.

require 'test/unit'

class BatTest < Test::Unit::TestCase
  
  def setup
    @bat = Object.new
    @bat.extend Bat
  end
  
  def test_should_be_instance_of_module
    assert_instance_of Module, Bat
  end
  
  def test_should_return_2_2i_when_sent_ding
    assert_equal Complex(2, 2), @bat.ding
  end
  
  def test_should_return_1_2i_when_sent_pwop
    assert_equal Complex(1, 2), @bat.pwop
  end
  
end
