|
|
|
|
|
|
131
|
|
131
|
|
|
132
|
@Ignore("Remove to run test")
|
132
|
@Ignore("Remove to run test")
|
|
133
|
@Test
|
133
|
@Test
|
|
134
|
- public void trianglesWithNegativeSidesAreIllegal() throws TriangleException {
|
|
|
|
135
|
- expectedException.expect(TriangleException.class);
|
|
|
|
136
|
- new Triangle(3, 4, -5);
|
|
|
|
137
|
- }
|
|
|
|
138
|
-
|
|
|
|
139
|
- @Ignore("Remove to run test")
|
|
|
|
140
|
- @Test
|
|
|
|
141
|
public void trianglesViolatingTriangleInequalityAreIllegal() throws TriangleException {
|
134
|
public void trianglesViolatingTriangleInequalityAreIllegal() throws TriangleException {
|
|
142
|
expectedException.expect(TriangleException.class);
|
135
|
expectedException.expect(TriangleException.class);
|
|
143
|
new Triangle(1, 1, 3);
|
136
|
new Triangle(1, 1, 3);
|