#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false), cin.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n, l, r;
    cin >> n >> l >> r;
    int pcs = n / l;
    n %= l;
    if (pcs == 0 || n / (double)pcs > r - l)
      cout << "No" << endl;
    else
      cout << "Yes" << endl;
  }
}
