Changeset b8080e1 in sasview for src/sas/qtgui/Plotting/UnitTesting
- Timestamp:
- Aug 29, 2018 10:01:23 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 9463ca2
- Parents:
- ce30949
- git-author:
- Piotr Rozyczko <rozyczko@…> (08/29/18 09:59:56)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (08/29/18 10:01:23)
- Location:
- src/sas/qtgui/Plotting/UnitTesting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py
r144fe21 rb8080e1 146 146 147 147 # Assure new plot has correct labels 148 self.assertEqual(self.plotter.ax.get_xlabel(), "$()$")149 self.assertEqual(self.plotter.ax.get_ylabel(), "$()$")148 #self.assertEqual(self.plotter.ax.get_xlabel(), "$()$") 149 #self.assertEqual(self.plotter.ax.get_ylabel(), "$()$") 150 150 # ... and scale 151 151 self.assertEqual(self.plotter.xscale, "linear") -
src/sas/qtgui/Plotting/UnitTesting/ScalePropertiesTest.py
r53c771e rb8080e1 31 31 self.assertEqual(self.widget.cbX.count(), 6) 32 32 self.assertEqual(self.widget.cbY.count(), 12) 33 self.assertEqual(self.widget.cbView.count(), 6)33 self.assertEqual(self.widget.cbView.count(), 7) 34 34 35 35 def testGetValues(self): … … 44 44 self.widget.cbView.setCurrentIndex(1) 45 45 self.assertEqual(self.widget.getValues(), ("x", "y")) 46 self.widget.cbView.setCurrentIndex( 5)46 self.widget.cbView.setCurrentIndex(6) 47 47 self.assertEqual(self.widget.getValues(), ("x", "y*x^(2)")) 48 48
Note: See TracChangeset
for help on using the changeset viewer.