1
0
Fork 0
flutter_demo_energy/test/algorithms/heat_capacity_test.dart

13 lines
325 B
Dart

import 'package:energy/algorithms/heat_capacity.dart';
import 'package:test/test.dart';
void main() {
group('Joule to', () {
test('red heat 1 kg Iron', () {
expect(kgIronThatCanBeHeatetUntilRed(340000), 1);
});
test('boil 1 l Water', () {
expect(literWaterThatCanBeBoiled(334400), 1);
});});
}