public void Test() { var x = OrderLineQty.Create(98).Value; // only use "Value" for testing! It is not safe! var y1 = OrderLineQty.Create(1).Value; var y2 = OrderLineQty.Create(3).Value; var goodResult = AddOrderQty(x, y1); var badResult = AddOrderQty(x, y2); // write a test to check the results }
public static int AddOrderQty(OrderLineQty x, OrderLineQty y) { // replace void with correct return value return(0); }
public static int AddOrderQty(OrderLineQty x,OrderLineQty y) { // replace void with correct return value return 0; }