aboutsummaryrefslogtreecommitdiffstats
path: root/test_mass_flow_rate.c
blob: 6c9a0aaad10c03c7ac52a465ce9559ab42688f0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <assert.h>
#include <stdio.h>

#include "test.h"
#include "unit.h"

void
test_kilo_per_sec(void) {
	test(kilo_per_sec(123.456), 123.456);
}

void
test_pound_per_min(void) {
	test(pound_per_min(123.456), 0.9333117);
}

void
test_as_kilo_per_sec(void) {
	test(as_kilo_per_sec(kilo_per_sec(123.456)), 123.456);
}

void
test_as_pound_per_min(void) {
	test(as_pound_per_min(pound_per_min(123.456)), 123.456);
}