#include <bits/stdc++.h>
using namespace std;
long long n = 0, l, r, i, s, a, b, d;
int main() {
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> s;
    cin >> l;
    cin >> r;
    d = r - l;
    a = s / l;
    b = s % l;
    if (b <= a * d) {
      cout << "Yes" << endl;
    } else {
      a = s / r;
      b = s % r + r;
      if (b <= a * d) {
        cout << "Yes" << endl;
      } else
        cout << "No" << endl;
    }
  }
  return 0;
}
