public void DebuggerSourceMap_SetBreakpoints_Function()
        {
            var          codeModel      = new CodeModel();
            IBreakpoints sourceMap      = new DebuggerSourceMap(codeModel);
            var          breakpointList = new List <FunctionBreakpoint>
            {
                new FunctionBreakpoint {
                    Name = "test-breakpoint"
                }
            };

            var breakpoints = sourceMap.SetBreakpoints(breakpointList);

            Assert.Equal(1, breakpoints.Count);
        }
        public void DebuggerSourceMap_SetBreakpoints_Source()
        {
            var          codeModel      = new CodeModel();
            IBreakpoints sourceMap      = new DebuggerSourceMap(codeModel);
            var          breakpointList = new List <SourceBreakpoint>
            {
                new SourceBreakpoint {
                    Line = 1
                }
            };

            var source = new Source("/test-path")
            {
                Name = "testSource"
            };

            var breakpoints = sourceMap.SetBreakpoints(source, breakpointList);

            Assert.Single(breakpoints);
        }