Changeset bc3debf8 in sasview
- Timestamp:
- May 15, 2018 3:58:38 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- c889a3e, 085e3c9d
- Parents:
- d813cf9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/UnitTesting/DensityCalculatorTest.py
re90988c rbc3debf8 78 78 79 79 # Assure the mass density field is set 80 self.assertEqual(self.widget.ui.editMassDensity.text(), '18.015 3')80 self.assertEqual(self.widget.ui.editMassDensity.text(), '18.015') 81 81 82 82 # Change mass density … … 88 88 89 89 # Assure the molar volume field got updated 90 self.assertEqual(self.widget.ui.editMolarVolume.text(), '1.12 595625')90 self.assertEqual(self.widget.ui.editMolarVolume.text(), '1.126') 91 91 92 92 def testComplexEntryAndReset(self): … … 113 113 114 114 self.assertEqual(self.widget.ui.editMolecularFormula.text(), "H2O") 115 self.assertEqual(self.widget.ui.editMolarMass.text(), "18.015 3")115 self.assertEqual(self.widget.ui.editMolarMass.text(), "18.015") 116 116 self.assertEqual(self.widget.ui.editMolarVolume.text(), "") 117 117 self.assertEqual(self.widget.ui.editMassDensity.text(), "")
Note: See TracChangeset
for help on using the changeset viewer.