Beispiel #1
0
        public void Basic_StringCodelet_Weave()
        {
            //  Arrange
            var arbitraryString = "foo";
            var s   = Encapsulate(new StringCodelet(arbitraryString));
            var rte = new RuntimeEngine(false);

            //  Act
            rte.StartFromCodelet(s, false);
            //  Assert
            Assert.Equal(1, rte.ValueStackLength());
            Assert.Equal(arbitraryString, rte.PeekOrElse());
        }