Exemplo n.º 1
0
        public void Test05()
        {
            var choices = new Choices(("MyChoices", "A"),
                                      Seq.cons(
                                          new Choice(("1", "B"), "One"),
                                          new Choice(("2", "B"), "Two"),
                                          new Choice(("3", "B"), "Three")
                                          ));
            var text = choices.ToString();
            var back = Choices.Parse(text);

            claim.equal(choices, back);
        }