Skip to content

Commit a69e88e

Browse files
committed
ex-02: set airSpeedVelocity to 35 at EuropeanSwallowDelegate
1 parent 82926e2 commit a69e88e

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
export class EuropeanSwallowDelegate {}
1+
export class EuropeanSwallowDelegate {
2+
get airSpeedVelocity() {
3+
return 35;
4+
}
5+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { EuropeanSwallowDelegate } from '.';
2+
3+
describe('EuropeanSwallowDelegate', () => {
4+
describe('airSpeedVelocity', () => {
5+
it('should be 35', () => {
6+
const delegate = new EuropeanSwallowDelegate();
7+
expect(delegate.airSpeedVelocity).toBe(35);
8+
});
9+
});
10+
});

0 commit comments

Comments
 (0)