Closed JeanLColombo closed 3 years ago
Can we add a test to see if it's behaving correctly?
Can we add a test to see if it's behaving correctly?
Yes, already done.
If G.Terminal
is already connected to a node, the following code doesn't work.
G.Terminal.ConnectTo(J.Positive);
But this one works:
G.Terminal.Node.ConnectTo(J.Positive);
Was this an implementational feature, or a bug? Because Node will only exist after being created, so the second line may end in runtime errors.
If
G.Terminal
is already connected to a node, the following code doesn't work.
G.Terminal.ConnectTo(J.Positive);
But this one works:
G.Terminal.Node.ConnectTo(J.Positive);
Was this an implementational feature, or a bug? Because Node will only exist after being created, so the second line may end in runtime errors.
It's a feature, to ensure explicit triple connection. You can use the ConnectAll method to ease the verbosity.
If
G.Terminal
is already connected to a node, the following code doesn't work.G.Terminal.ConnectTo(J.Positive);
But this one works:G.Terminal.Node.ConnectTo(J.Positive);
Was this an implementational feature, or a bug? Because Node will only exist after being created, so the second line may end in runtime errors.It's a feature, to ensure explicit triple connection. You can use the ConnectAll method to ease the verbosity.
This works.
Implementation of noveau components to Pamola's library.