Exemple #1
0
 public void TestSpinnerAddItem()
 {
     Spinner spin = new Spinner("spin");
     Assert.AreEqual(spin, spin.AddItem("item1"));
     Assert.AreEqual(spin, spin.AddItem("item1").AddItem("item2"));
     Assert.AreEqual("item2", spin.SelectedItem());
 }