znmud-0.0.1/benchmark/
znmud-0.0.1/cmd/
znmud-0.0.1/cmd/emotes/
znmud-0.0.1/cmd/objects/
znmud-0.0.1/cmd/tiny/
znmud-0.0.1/doc/
znmud-0.0.1/farts/
znmud-0.0.1/lib/
znmud-0.0.1/lib/combat/
znmud-0.0.1/lib/core/bodytypes/
znmud-0.0.1/lib/engine/
znmud-0.0.1/lib/farts/
znmud-0.0.1/logs/
# Code Generated by ZenTest v. 2.3.0
#                 classname: asrt / meth =  ratio%
#                    Filter:    3 /    4 =  75.00%

unless defined? $ZENTEST and $ZENTEST
require 'test/unit'
require 'flexmock'
require 'pp'
load 'mockengine.rb'
require 'storage/properties'
end

class A
  property :a, :b, :c
  def initialize
    @x = 1
    @y = "I'm not saved"
    self.a = "save me"
    self.c = 929287
  end
end

class TestProperties < Test::Unit::TestCase
  def setup
    $id = 0
  end

  def test_properties
    a = A.new
    assert_equal(1, a.id)
    assert_equal({:id => 1, :a => "save me", :c => 929287}, a.instance_variable_get(:@props))
  end

end