13 lines
325 B
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);
|
|
});});
|
|
}
|