public void SimpleNestedTest() { var dc = new DummyCollection(); var attr = new ObjectDialogAttribute(dc, "dummy", "d", "y"); attr.Update(); var output = attr.CurrentValue; Assert.AreEqual(DialogAttribute.ValueToLong("monkey"), output); }
public void SimpleAttributeTest() { var dummy = new Dummy(); var attr = new ObjectDialogAttribute(dummy, "dummy", "X"); attr.Update(); var output = attr.CurrentValue; Assert.AreEqual(5, output); }