livyatan/packages/livyatan_ui/test/livyatan_ui_test.dart

13 lines
310 B
Dart

import 'package:flutter_test/flutter_test.dart';
import 'package:livyatan_ui/livyatan_ui.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);
});
}