#include <bits/stdc++.h>
using namespace std;
int main() {
  int qq;
  scanf("%d", &qq);
  while (qq--) {
    long long x, l, r;
    scanf("%lld %lld %lld", &x, &l, &r);
    if (l > x) {
      puts("No");
      continue;
    }
    long long L = x / l * l;
    long long R = x / l * r;
    puts(L <= x && x <= R ? "Yes" : "No");
  }
  return 0;
}
