public void Test_Input_Line_Valid_Input_Result_CAD() { Transaction t = new Transaction("11.09,200"); IRegionCurrency test = new CADCurrency(); t.GenerateChange(test, null, true); string expected = "1 hundred, 1 fifty, 1 twenty, 1 ten, 1 five, 1 toonie, 1 loonie, 1 half dollar, 1 quarter, 1 dime, 1 nickel, 1 penny"; Assert.AreEqual(expected, t.ToString()); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CADCurrency obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CADCurrency obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }