#include #include using namespace std; int T,ok; unsigned long long a,b,c,d; int main() { scanf("%d",&T); while (T--) { cin>>a>>b>>c>>d; if (!a||!b||!c||!d){printf("No\n");continue;} ok=1; if (d>=c&&a+b<=d-c) ok=0; if (b>=d&&a+c<=b-d) ok=0; if (c>=d&&a+b<=c-d) ok=0; if (a>=d&&b+c<=a-d) ok=0; if (ok) printf("Yes\n");else printf("No\n"); } }