mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	tests: correct bestmixend test cases.
When unit system Imperial is properly activated, these test cases have wrong values, and thus fail. Use correct values. Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
		
							parent
							
								
									24c42b9b55
								
							
						
					
					
						commit
						2f16f7539e
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -288,13 +288,13 @@ void TestPlannerShared::test_gas() | |||
| 	QCOMPARE(plannerShared::decopo2(), 1.0); | ||||
| 
 | ||||
| 	plannerShared::set_bestmixend(33); | ||||
| //Not implemented	QCOMPARE(qPrefDivePlanner::bestmixend(), 168);
 | ||||
| 	QCOMPARE(qPrefDivePlanner::bestmixend(), 10058); | ||||
| 	plannerShared::set_bestmixend(27); | ||||
| //Not implemented	QCOMPARE(qPrefDivePlanner::bestmixend(), 137);
 | ||||
| 	qPrefDivePlanner::set_bestmixend(203); | ||||
| //Not implemented	QCOMPARE(plannerShared::bestmixend(), 40);
 | ||||
| 	qPrefDivePlanner::set_bestmixend(178); | ||||
| //Not implemented	QCOMPARE(plannerShared::bestmixend(), 35);
 | ||||
| 	QCOMPARE(qPrefDivePlanner::bestmixend(), 8230); | ||||
| 	qPrefDivePlanner::set_bestmixend(11000); | ||||
| 	QCOMPARE(plannerShared::bestmixend(), 36); | ||||
| 	qPrefDivePlanner::set_bestmixend(7000); | ||||
| 	QCOMPARE(plannerShared::bestmixend(), 23); | ||||
| 
 | ||||
| 	// Variables currently not tested
 | ||||
| 	// o2narcotic
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue