Skip to content
Browse files

IntMatchers deleted

  • Loading branch information...
1 parent 82cd143 commit da233f397524fc13f9b38fbdb004bde88c800cb9 @danseid committed Nov 21, 2012
Showing with 0 additions and 76 deletions.
  1. +0 −76 src/test/kotlin/IntMatcherTest.kt
View
76 src/test/kotlin/IntMatcherTest.kt
@@ -1,76 +0,0 @@
-/*
- * Copyright 2012 Daniel Seidler
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import org.junit.Test as test
-import org.katchers.*
-
-/**
- * @author Daniel Seidler
- * @since 2012/11/21
- */
-public class IntMatcherTest {
-
- test fun shouldBeGreaterThan() {
- 1 should be gt 0
- 1 should !be gt 2
- { 1 should be gt 0 } should !fail with assertionError;
- { 1 should be gt 1 } should fail with assertionError;
- { 1 should !be gt 2 } should !fail with assertionError;
-
- }
- test fun shouldBeGreaterOrEqualThan() {
- 1 should be gte 0
- 1 should be gte 1
- 1 should !be gte 2
-
- { 1 should be gte 0 } should !fail with assertionError;
- { 1 should be gte 1 } should !fail with assertionError;
- { 1 should be gte 2 } should fail with assertionError;
-
- { 1 should !be gte 1 } should fail with assertionError;
- { 1 should !be gte 0 } should fail with assertionError;
- { 1 should !be gte 2 } should !fail with assertionError;
- }
-
- test fun shouldBeLessThan() {
- 1 should be lt 2
- 1 should !be lt 1
- 1 should !be lt 0
-
- { 1 should be lt 2 } should !fail with assertionError;
- { 1 should !be lt 1 } should !fail with assertionError;
- { 1 should !be lt 0 } should !fail with assertionError;
-
- { 1 should !be lt 2 } should fail with assertionError;
- { 1 should be lt 1 } should fail with assertionError;
- { 1 should be lt 0 } should fail with assertionError;
-
-
- }
- test fun shouldBeLessOrEqualThan() {
- 1 should !be lte 0
- 1 should be lte 1
- 1 should be lte 2
-
- { 1 should !be lte 0 } should !fail with assertionError;
- { 1 should be lte 1 } should !fail with assertionError;
- { 1 should be lte 2 } should !fail with assertionError;
-
- { 1 should !be lte 2 } should fail with assertionError;
- { 1 should !be lte 1 } should fail with assertionError;
- { 1 should be lte 0 } should fail with assertionError;
- }
-
-}

0 comments on commit da233f3

Please sign in to comment.
Something went wrong with that request. Please try again.