2023-06-17 19:16:41 +00:00
|
|
|
import 'package:moxlib/moxlib.dart';
|
2023-06-17 19:14:17 +00:00
|
|
|
import 'package:test/test.dart';
|
2022-05-13 11:46:41 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
});
|
2022-05-13 11:46:41 +00:00
|
|
|
});
|
|
|
|
}
|