#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  long long n, l, r;
  for (int i = 0; i < t; ++i) {
    cin >> n >> l >> r;
    int tmp = n / l;
    if (tmp * l <= n && n <= tmp * r)
      cout << "Yes\n";
    else
      cout << "No\n";
  }
  return 0;
}
