moxlib/test/math_test.dart

14 lines
328 B
Dart
Raw Normal View History

import 'package:moxlib/moxlib.dart';
2023-06-17 19:14:17 +00:00
import 'package:test/test.dart';
void main() {
2023-06-17 19:14:17 +00:00
group('implies', () {
test('Truth table test', () {
expect(implies(true, true), true);
expect(implies(true, false), false);
expect(implies(false, true), true);
expect(implies(false, false), true);
});
});
}