public void OneToStringTest() { InListInteger condition = new InListInteger() { Field = "RECORDNO", ValuesList = new List <int>() { 1234, } }; Assert.Equal("RECORDNO IN (1234)", condition.ToString()); }
public void ToStringNotTest() { InListInteger condition = new InListInteger() { Negate = true, Field = "RECORDNO", ValuesList = new List <int>() { 1234, 5678, 9012, } }; Assert.Equal("NOT RECORDNO IN (1234,5678,9012)", condition.ToString()); }