Skip to content

Commit

Permalink
Disables specs related to >= etc. matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
akitchen committed Apr 1, 2015
1 parent 0ad9c77 commit b801cc4
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 164 deletions.
80 changes: 40 additions & 40 deletions Spec/Matchers/Base/BeGTESpec.mm
Expand Up @@ -1270,45 +1270,45 @@
});
});

describe(@">= operator matcher", ^{
describe(@"when the actual value is greater than the expected value", ^{
it(@"should pass", ^{
expect(10) >= 1;
});
});

describe(@"when the actual value is less than the expected value", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to be greater than or equal to <100>", ^{
expect(10) >= 100;
});
});
});

describe(@"when the actual value equals the expected value", ^{
it(@"should pass", ^{
expect(10) >= 10;
});
});

describe(@"with and without 'to'", ^{
int actualValue = 10, expectedValue = 1;

describe(@"positive match", ^{
it(@"should pass", ^{
expect(actualValue) >= expectedValue;
expect(actualValue).to >= expectedValue;
});
});

describe(@"negative match", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to not be greater than or equal to <1>", ^{
expect(actualValue).to_not >= expectedValue;
});
});
});
});
});
//describe(@">= operator matcher", ^{
// describe(@"when the actual value is greater than the expected value", ^{
// it(@"should pass", ^{
// expect(10) >= 1;
// });
// });
//
// describe(@"when the actual value is less than the expected value", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to be greater than or equal to <100>", ^{
// expect(10) >= 100;
// });
// });
// });
//
// describe(@"when the actual value equals the expected value", ^{
// it(@"should pass", ^{
// expect(10) >= 10;
// });
// });
//
// describe(@"with and without 'to'", ^{
// int actualValue = 10, expectedValue = 1;
//
// describe(@"positive match", ^{
// it(@"should pass", ^{
// expect(actualValue) >= expectedValue;
// expect(actualValue).to >= expectedValue;
// });
// });
//
// describe(@"negative match", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to not be greater than or equal to <1>", ^{
// expect(actualValue).to_not >= expectedValue;
// });
// });
// });
// });
//});

SPEC_END
84 changes: 42 additions & 42 deletions Spec/Matchers/Base/BeGreaterThanSpec.mm
Expand Up @@ -1260,47 +1260,47 @@
});
});

describe(@"> operator matcher", ^{
describe(@"when the actual value is greater than the expected value", ^{
it(@"should pass", ^{
expect(10) > 1;
});
});

describe(@"when the actual value is less than the expected value", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to be greater than <100>", ^{
expect(10) > 100;
});
});
});

describe(@"when the actual value equals the expected value", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to be greater than <10>", ^{
expect(10) > 10;
});
});
});

describe(@"with and without 'to'", ^{
int actualValue = 10, expectedValue = 1;

describe(@"positive match", ^{
it(@"should pass", ^{
expect(actualValue) > expectedValue;
expect(actualValue).to > expectedValue;
});
});

describe(@"negative match", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to not be greater than <1>", ^{
expect(actualValue).to_not > expectedValue;
});
});
});
});
});
//describe(@"> operator matcher", ^{
// describe(@"when the actual value is greater than the expected value", ^{
// it(@"should pass", ^{
// expect(10) > 1;
// });
// });
//
// describe(@"when the actual value is less than the expected value", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to be greater than <100>", ^{
// expect(10) > 100;
// });
// });
// });
//
// describe(@"when the actual value equals the expected value", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to be greater than <10>", ^{
// expect(10) > 10;
// });
// });
// });
//
// describe(@"with and without 'to'", ^{
// int actualValue = 10, expectedValue = 1;
//
// describe(@"positive match", ^{
// it(@"should pass", ^{
// expect(actualValue) > expectedValue;
// expect(actualValue).to > expectedValue;
// });
// });
//
// describe(@"negative match", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to not be greater than <1>", ^{
// expect(actualValue).to_not > expectedValue;
// });
// });
// });
// });
//});

SPEC_END
80 changes: 40 additions & 40 deletions Spec/Matchers/Base/BeLTESpec.mm
Expand Up @@ -1270,45 +1270,45 @@
});
});

describe(@"<= operator matcher", ^{
describe(@"when the actual value is less than the expected value", ^{
it(@"should pass", ^{
expect(1) <= 10;
});
});

describe(@"when the actual value is greater than the expected value", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to be less than or equal to <1>", ^{
expect(10) <= 1;
});
});
});

describe(@"when the actual value equals the expected value", ^{
it(@"should pass", ^{
expect(10) <= 10;
});
});

describe(@"with and without 'to'", ^{
int actualValue = 1, expectedValue = 10;

describe(@"positive match", ^{
it(@"should pass", ^{
expect(actualValue) <= expectedValue;
expect(actualValue).to <= expectedValue;
});
});

describe(@"negative match", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <1> to not be less than or equal to <10>", ^{
expect(actualValue).to_not <= expectedValue;
});
});
});
});
});
//describe(@"<= operator matcher", ^{
// describe(@"when the actual value is less than the expected value", ^{
// it(@"should pass", ^{
// expect(1) <= 10;
// });
// });
//
// describe(@"when the actual value is greater than the expected value", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to be less than or equal to <1>", ^{
// expect(10) <= 1;
// });
// });
// });
//
// describe(@"when the actual value equals the expected value", ^{
// it(@"should pass", ^{
// expect(10) <= 10;
// });
// });
//
// describe(@"with and without 'to'", ^{
// int actualValue = 1, expectedValue = 10;
//
// describe(@"positive match", ^{
// it(@"should pass", ^{
// expect(actualValue) <= expectedValue;
// expect(actualValue).to <= expectedValue;
// });
// });
//
// describe(@"negative match", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <1> to not be less than or equal to <10>", ^{
// expect(actualValue).to_not <= expectedValue;
// });
// });
// });
// });
//});

SPEC_END
84 changes: 42 additions & 42 deletions Spec/Matchers/Base/BeLessThanSpec.mm
Expand Up @@ -1260,47 +1260,47 @@
});
});

describe(@"< operator matcher", ^{
describe(@"when the actual value is less than the expected value", ^{
it(@"should pass", ^{
expect(1) < 10;
});
});

describe(@"when the actual value is greater than the expected value", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to be less than <1>", ^{
expect(10) < 1;
});
});
});

describe(@"when the actual value equals the expected value", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <10> to be less than <10>", ^{
expect(10) < 10;
});
});
});

describe(@"with and without 'to'", ^{
int actualValue = 1, expectedValue = 10;

describe(@"positive match", ^{
it(@"should pass", ^{
expect(actualValue) < expectedValue;
expect(actualValue).to < expectedValue;
});
});

describe(@"negative match", ^{
it(@"should fail with a sensible failure message", ^{
expectFailureWithMessage(@"Expected <1> to not be less than <10>", ^{
expect(actualValue).to_not < expectedValue;
});
});
});
});
});
//describe(@"< operator matcher", ^{
// describe(@"when the actual value is less than the expected value", ^{
// it(@"should pass", ^{
// expect(1) < 10;
// });
// });
//
// describe(@"when the actual value is greater than the expected value", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to be less than <1>", ^{
// expect(10) < 1;
// });
// });
// });
//
// describe(@"when the actual value equals the expected value", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <10> to be less than <10>", ^{
// expect(10) < 10;
// });
// });
// });
//
// describe(@"with and without 'to'", ^{
// int actualValue = 1, expectedValue = 10;
//
// describe(@"positive match", ^{
// it(@"should pass", ^{
// expect(actualValue) < expectedValue;
// expect(actualValue).to < expectedValue;
// });
// });
//
// describe(@"negative match", ^{
// it(@"should fail with a sensible failure message", ^{
// expectFailureWithMessage(@"Expected <1> to not be less than <10>", ^{
// expect(actualValue).to_not < expectedValue;
// });
// });
// });
// });
//});

SPEC_END

0 comments on commit b801cc4

Please sign in to comment.