Initial commit
This commit is contained in:
parent
6d6513ad5c
commit
809dbe0b8d
8 changed files with 95 additions and 2 deletions
12
test/libac_test.dart
Normal file
12
test/libac_test.dart
Normal file
|
@ -0,0 +1,12 @@
|
|||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:libac/libac.dart';
|
||||
|
||||
void main() {
|
||||
test('adds one to input values', () {
|
||||
final calculator = Calculator();
|
||||
expect(calculator.addOne(2), 3);
|
||||
expect(calculator.addOne(-7), -6);
|
||||
expect(calculator.addOne(0), 1);
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue