Created
November 27, 2014 15:41
-
-
Save chbaranowski/94da42009e1c382cef4b to your computer and use it in GitHub Desktop.
SemsterSpec.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import semester.* | |
import spock.lang.* | |
class SemsterSpec extends Specification { | |
def "berechne die Semestergebuehrn"() { | |
given: | |
SemestergebuehrService service = new SemestergebuehrService() | |
when: | |
def gebuehr = service.getSemestergebuehr(5, 2) | |
then: | |
gebuehr == 300 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment