public void MinAggregate() { var query = testTable.Min(to => to.SomeNumber); var testObject = connection.Run(query); Assert.That(testObject.SomeNumber, Is.EqualTo(1)); }
public void MinIndexAggregate() { var minName = connection.Run(testTable.Min(nameIndex)); minName.Should().NotBeNull(); minName.Name.Should().Be("1"); }