Dirk Hohndel 1a5e94006c Sanity check on gas percentages
O2 + He + N2 = 100%
(well, there are some other gases, but this is close enough)

Since N2 can't be negative that means we should refuse any change where
O2 + He > 100% (or o2.permille + he.permille > 1000).

Fixes #280

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-11-19 05:02:08 -08:00
..
2013-09-02 05:57:08 -03:00
2013-07-11 09:22:20 -03:00
2013-10-16 12:44:07 -07:00
2013-10-16 12:44:07 -07:00
2013-10-16 12:44:07 -07:00
2013-11-18 10:03:45 -08:00
2013-11-18 10:03:45 -08:00
2013-10-15 04:37:31 -07:00
2013-11-15 09:13:58 +09:00
2013-11-15 11:39:59 -08:00
2013-11-19 05:02:08 -08:00
2013-11-18 16:53:16 -08:00
2013-10-16 07:02:06 -07:00
2013-11-18 10:03:55 -08:00
2013-11-18 10:03:45 -08:00
2013-06-19 10:20:56 -07:00