public void Should_CreateNode(string input, GraphNodeDay7 expectedNode)
        {
            var inputHandler = new InputHandlerServiceDay7();
            var result       = inputHandler.CreateNodeWithNodesBelow(input);

            result.Should().BeEquivalentTo(expectedNode);
        }
        public void Should_AddNodeBellow(string node, int weight, Dictionary <string, int> expectedNodes)
        {
            var graph = new GraphNodeDay7();

            graph.AddNodeBellow(node, weight);
            Assert.Equal(expectedNodes, graph.ConnectedNodesBelow);
        }
        public void Should_AddNode(Dictionary <string, GraphNodeDay7> nodes, GraphNodeDay7 newNode, Dictionary <string, GraphNodeDay7> expectedNodes)
        {
            var inputHandler = new InputHandlerServiceDay7();
            var result       = inputHandler.AddNode(nodes, newNode);

            result.Should().BeEquivalentTo(expectedNodes);
        }