예제 #1
0
 def test_TopologyTransformCallableAddWithDrop(self):
     topo = Topology("test_TopologyTransformCallableAddWithDrop")
     source = topo.source(test_functions.int_strings_transform_with_drop)
     i1 = source.transform(test_functions.string_to_int_except68)
     i2 = i1.transform(test_functions.AddNum(17))
     i2.sink(test_functions.check_int_strings_transform_with_drop)
     standalone(self, topo)
예제 #2
0
 def test_TopologyTransformCallableAddWithDrop(self):
     topo = Topology("test_TopologyTransformCallableAddWithDrop")
     source = topo.source(test_functions.int_strings_transform_with_drop)
     i1 = source.transform(test_functions.string_to_int_except68)
     i2 = i1.transform(test_functions.AddNum(17))
     i2.sink(test_functions.check_int_strings_transform_with_drop)
     streamsx.topology.context.submit("STANDALONE", topo.graph)