#include <bits/stdc++.h>
using namespace std;
long long int i, j = 0, k, l, m, m1, m3, m4, m2, n, a[100001], a1[100001];
int main() {
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> m1 >> m2 >> m3;
    m = m1 / m2;
    if (m * m3 >= m1)
      cout << "Yes\n";
    else
      cout << "No\n";
  }
  return 0;
}
