TechoSolara: Output from automated tests.

Introduction.

TechoSolara is produced with transparency in mind. So we share our latest released version's test results with you...


TechoSolara :  Automated Test Results
=============================================================
Test framework       : JUnit 4.13.2
Reference location   : Suffolk, UK (52.1°N, 1.0°E) — beta area market

Component under test : Settings (geographic and seasonal logic)

Test coverage (27 tests across 9 categories):
  Hemisphere selection    3 tests — verifies positive latitudes are North, negative are South, and 0.0 is North
  Localized strings       3 tests — ensures hemisphere labels are non-null and distinct
  Optimal aspect          2 tests — confirms 180° for Northern and 0° for Southern hemispheres
  Declination sign        2 tests — verifies positive sign for North and negative for South
  Northern seasons        5 tests — validates winter/summer mapping for January, March, June, October, and December
  Southern seasons        4 tests — validates inverted seasonal mapping for January, July, October, and December
  Logic consistency       2 tests — confirms isSummer and isWinter are perfect complements for all 12 months
  Angle formatting        4 tests — verifies string output for 1 and 6 decimal places including degree symbols
  Summary generation      2 tests — smoke tests for non-empty output and correct hemisphere reference 

-------------------------------------------------------------
Component under test : SolarCalculator (core calculation engine)

Test coverage (45 tests across 8 categories):

  Solar declination       6 tests — monthly averages validated against solstices and equinoxes;
                          invalid months are rejected
  Daylight hours          10 tests — equator constancy, Suffolk seasonal range, polar night and midnight sun extremes;
                          out-of-range latitudes and months are rejected
  Solar altitude          6 tests — Suffolk June and December noon angles verified against astronomical formula;
                          altitude bounded 0°–90° across all months;
                          invalid inputs are rejected
  Angle scoring           3 tests — perfect alignment scores 100, perpendicular scores 0, obtuse angles clamped (not negative)
  Effective angle         2 tests — perfect alignment yields 0° effective angle;
                          compass wrap-around (e.g. 350°/10°) handled correctly
  Cardinal direction      6 tests — N/S/E/W correctly assigned;
                          360° wraps to N;
                          negative bearings are rejected
  Solar noon              2 tests — valid HH:MM format returned;
                          Suffolk June solar noon falls within expected UTC window
  Hemisphere symmetry     5 tests — northern summer exceeds northern winter;
                          southern hemisphere seasons correctly inverted
  Generation window       10 tests — checking calculations are correct then ensuring bounds are not being exceeded
   calculation            southern hemisphere seasons correctly inverted
  Effective solar gen     9 tests — checking calculations are correct then ensuring bounds are not being exceeded
                          southern hemisphere seasons correctly inverted
  Pitch calculation       5 tests — checking calculations are correct then ensuring bounds are not being exceeded

-------------------------------------------------------------
These 82 tests are run against the engine with each release, reference in the "TechoSolara Version: ", below, and when the test run was performed.  You can also see how long the engine took to run those tests: longer than a second should be queried.

All guard tests verify that illegal arguments raise IllegalArgumentException.
Test run initiated: Tue Apr 14 19:53:58 BST 2026
Techosolara version: 1.0.6
JUnit version 4.13.2
..................................................................................
Time: 0.074

OK (82 tests)

Test run completed: Tue Apr 14 19:53:59 BST 2026


Back to page top.

Patent pending: GB2604728.2 | © 2026 Sam J Watkins and TSamko Ltd.

TechoSolara © 2026 TSamko Ltd. All rights reserved.