#include <bits/stdc++.h>
int main() {
  int t;
  long long n, l, r;
  scanf("%d", &t);
  while (t--) {
    scanf("%lld%lld%lld", &n, &l, &r);
    if (n / l <= n && n <= (n / l * r))
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
