Exemple #1
0
        public override void Define() /* throws Throwable */
        {
            // component("MONITOR", Monitor.class);

            Connect(Component("Read", typeof(ReadText)),
                    Port("OUT"),
                    Component("StoreValues", typeof(StoreValues)),
                    Port("IN"));

            StoreValues = Component("StoreValues") as StoreValues;

            Object d = (Object)@"fake_latin.txt";

            Initialize(d,
                       Component("Read"),
                       Port("SOURCE"));
        }
        public override void Define() /* throws Throwable */
        {
            // component("MONITOR", Monitor.class);
            var assertions =
                Enumerable.Range(0, 100)
                .Select(x => new Func <string, bool>(y => String.Format("{0:d6}abcd", 100 - x) == y))
                .ToArray();

            Connect(Component("Generate", typeof(GenerateTestData)),
                    Port("OUT"),
                    Component("StoreValues", typeof(StoreValues)),
                    Port("IN"));

            StoreValues = Component("StoreValues") as StoreValues;

            Initialize("100",
                       Component("Generate"),
                       Port("COUNT"));
        }
Exemple #3
0
        public override void Define() /* throws Throwable */
        {
            // component("MONITOR", Monitor.class);
            var assertions =
                Enumerable.Range(0, 100)
                          .Select(x => new Func<string, bool>(y => String.Format("{0:d6}abcd", 100 - x) == y))
                          .ToArray();

            Connect(Component("Generate", typeof(GenerateTestData)),
                Port("OUT"),
                Component("StoreValues", typeof(StoreValues)),
                Port("IN"));

            StoreValues = Component("StoreValues") as StoreValues;

            Initialize("100",
                Component("Generate"),
                Port("COUNT"));
        }
Exemple #4
0
        public override void Define() /* throws Throwable */
        {
            // component("MONITOR", Monitor.class);
            var assertions =
                Enumerable.Range(0, 100)
                          .Select(x => new Func<string, bool>(y => String.Format("{0:d6}abcd", 100 - x) == y))
                          .ToArray();

            Connect(Component("Read", typeof(ReadText)),
                Port("OUT"),
                Component("StoreValues", typeof(StoreValues)),
                Port("IN"));

            StoreValues = Component("StoreValues") as StoreValues;

            Object d = (Object)@"fake_latin.txt";
            Initialize(d,
                Component("Read"),
                Port("SOURCE"));
        }
Exemple #5
0
        public override void Define() /* throws Throwable */
        {
            // component("MONITOR", Monitor.class);
            var assertions =
                Enumerable.Range(0, 100)
                .Select(x => new Func <string, bool>(y => String.Format("{0:d6}abcd", 100 - x) == y))
                .ToArray();

            Connect(Component("Read", typeof(ReadText)),
                    Port("OUT"),
                    Component("StoreValues", typeof(StoreValues)),
                    Port("IN"));

            StoreValues = Component("StoreValues") as StoreValues;

            Object d = (Object)@"fake_latin.txt";

            Initialize(d,
                       Component("Read"),
                       Port("SOURCE"));
        }