Пример #1
0
        public void Run()
        {
            var source = new Root(null).BitType.Number(8).EnableCut.Pointer;
            var destination = new Root(null).BitType.Number(6);
            var path = Type.ConversionService.FindPath(source, destination);

            Tracer.Assert(path != null);

            var calulatedDestination = path.Execute(Category.Type).Type;
            Tracer.Assert(calulatedDestination == destination);

            var code = path.Execute(Category.Code.Typed).Code.ReplaceArg(source.ArgResult(Category.Code.Typed));
        }