--- /dev/null
+context("Get similar days")
+
+itestthat("getSimilarDaysIndices works as expected",
+{
+ getSimilarDaysIndices(index, data, limit, same_season, days_in=NULL)
+ #...
+})
+{
+ index = dateIndexToInteger(index, data)
+
+testthat("getConstrainedNeighbs works as expected",
+{
+ .getConstrainedNeighbs(today, data, fdays, min_neighbs=10, max_neighbs=12)
+ #...
+})
+