public void TestGetFromUneseneVrednostiDate() { string check = "SELECT * FROM UneseneVrednosti WHERE CONVERT(DATE, VremeMerenja) = CONVERT(DATE, GETDATE())"; Assert.DoesNotThrow(() => { String select = new GetSelectQuery().GetFromUneseneVrednostiDate(); Assert.AreEqual(check, select); }); }
public void TestGetFromFunkcijaMinimum() { string check = "SELECT * FROM FunkcijaMinimum"; Assert.DoesNotThrow(() => { String select = new GetSelectQuery().GetFromFunkcijaMinimum(); Assert.AreEqual(check, select); }); }
public void TestGetFromUneseneVrednosti() { string check = "SELECT * FROM UneseneVrednosti"; Assert.DoesNotThrow(() => { String select = new GetSelectQuery().GetFromUneseneVrednosti(); Assert.AreEqual(check, select); }); }