mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 21:42:28 +00:00
light.feature - more test fixes
This commit is contained in:
@@ -10,7 +10,12 @@ Scenario: Changing the month
|
|||||||
Given an empty IFC project
|
Given an empty IFC project
|
||||||
And I look at the "Solar Access / Shadow" panel
|
And I look at the "Solar Access / Shadow" panel
|
||||||
When I set the "Year" property to "2024"
|
When I set the "Year" property to "2024"
|
||||||
And I set the "January" property to "3"
|
And I set the "month" property to "3"
|
||||||
|
And I set the "Date" property to "1"
|
||||||
|
And I set the "Hour" property to "0"
|
||||||
|
And I set the "Minute" property to "0"
|
||||||
|
And I set the "Latitude" property to "0"
|
||||||
|
And I set the "Longitude" property to "0"
|
||||||
Then I see "March"
|
Then I see "March"
|
||||||
And I see "Sunrise: 06:08:54"
|
And I see "Sunrise: 06:08:54"
|
||||||
|
|
||||||
@@ -18,7 +23,10 @@ Scenario: Changing the date
|
|||||||
Given an empty IFC project
|
Given an empty IFC project
|
||||||
And I look at the "Solar Access / Shadow" panel
|
And I look at the "Solar Access / Shadow" panel
|
||||||
When I set the "Year" property to "2024"
|
When I set the "Year" property to "2024"
|
||||||
|
And I set the "month" property to "1"
|
||||||
And I set the "Date" property to "3"
|
And I set the "Date" property to "3"
|
||||||
|
And I set the "Hour" property to "0"
|
||||||
|
And I set the "Minute" property to "0"
|
||||||
And I set the "Latitude" property to "0"
|
And I set the "Latitude" property to "0"
|
||||||
And I set the "Longitude" property to "0"
|
And I set the "Longitude" property to "0"
|
||||||
Then I see "Sunrise: 06:00:31"
|
Then I see "Sunrise: 06:00:31"
|
||||||
@@ -28,14 +36,16 @@ Scenario: Changing the time
|
|||||||
And I look at the "Solar Access / Shadow" panel
|
And I look at the "Solar Access / Shadow" panel
|
||||||
When I set the "Hour" property to "13"
|
When I set the "Hour" property to "13"
|
||||||
And I set the "Minute" property to "30"
|
And I set the "Minute" property to "30"
|
||||||
And I set the "Latitude" property to "0"
|
|
||||||
And I set the "Longitude" property to "0"
|
|
||||||
Then I see "Local Time: 13:30:00"
|
Then I see "Local Time: 13:30:00"
|
||||||
|
|
||||||
Scenario: Automatic timezone detection based on lat / long
|
Scenario: Automatic timezone detection based on lat / long
|
||||||
Given an empty IFC project
|
Given an empty IFC project
|
||||||
And I look at the "Solar Access / Shadow" panel
|
And I look at the "Solar Access / Shadow" panel
|
||||||
And I set the "Year" property to "2024"
|
And I set the "Year" property to "2024"
|
||||||
|
And I set the "month" property to "1"
|
||||||
|
And I set the "Date" property to "1"
|
||||||
|
And I set the "Hour" property to "0"
|
||||||
|
And I set the "Minute" property to "0"
|
||||||
When I set the "Latitude" property to "10.0"
|
When I set the "Latitude" property to "10.0"
|
||||||
And I set the "Longitude" property to "20.0"
|
And I set the "Longitude" property to "20.0"
|
||||||
Then I see "Africa/Ndjamena"
|
Then I see "Africa/Ndjamena"
|
||||||
|
|||||||
Reference in New Issue
Block a user