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