public void ToString_ReturnsValue() { // arrange var nameString = new MultiplierPathString("Foo"); // act string value = nameString.ToString();; // assert Assert.Equal(nameString.Value, value); }
public void AddOp_String_CombinedMultiplierPathString() { // arrange var a = new MultiplierPathString("Foo"); var b = "Bar"; // act MultiplierPathString combined = a + b; // assert Assert.Equal("FooBar", combined.ToString()); }
public void Append_MultiplierPathString_CombinedMultiplierPathString() { // arrange var a = new MultiplierPathString("Foo"); var b = new MultiplierPathString("Bar"); // act MultiplierPathString combined = a.Add(b); // assert Assert.Equal("FooBar", combined.ToString()); }