|
@@ -29,6 +29,12 @@ class ClassLevelJasminCodeTest { |
|
|
assert instance.getI() == 42 |
|
|
} |
|
|
|
|
|
@Test |
|
|
void canAddIntegers() { |
|
|
def instance = new JasminCodeClass( 'Spock', 42 ) |
|
|
assert instance.ints == 5 |
|
|
} |
|
|
|
|
|
@Test |
|
|
void canDeclareDefaultConstructor() { |
|
|
def instance = new JasminCodeClassComplex() |
|
|
0 comments on commit
b2484af