From 633e73b29d5798b215d845da83831e9535ef4f04 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Sat, 2 Mar 2024 11:17:40 +0100 Subject: [PATCH] Update tests, add convertion unit test radiantToDegrees, valToPercent, metersToKnots --- tests/sql/monitoring.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/sql/monitoring.sql b/tests/sql/monitoring.sql index 5e5f77a..3d3ae1a 100644 --- a/tests/sql/monitoring.sql +++ b/tests/sql/monitoring.sql @@ -51,3 +51,12 @@ select count(*) from api.monitoring_temperatures; -- Test monitoring for user --select * from api.monitoring_humidity; select count(*) from api.monitoring_humidity; + +\echo 'Test metersToKnots' +select public.metersToKnots(1); + +\echo 'Test radiantToDegrees' +select public.radiantToDegrees(1); + +\echo 'Test valToPercent' +select public.valToPercent(1); \ No newline at end of file