~janbaudisch/dart-builds

ref: c1e467086ce6f93bf2c249ef3e77fcafa2569676 dart-builds/test/add_test.dart -rw-r--r-- 190 bytes
c1e46708Jan Baudisch initial commit 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
import 'package:test/test.dart';
import 'package:builds/add.dart';

void main() {
  test('add()', () {
    expect(add(1, 1), 2);
    expect(add(1, 2), 3);
    expect(add(-1, 2), 1);
  });
}