-
-
Notifications
You must be signed in to change notification settings - Fork 678
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test files for datetimes checking
- Loading branch information
johltn3d
committed
Oct 23, 2023
1 parent
73834ea
commit d0abe8f
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/ifcopenshell-python/test/fixtures/validate/fail-datetimes.ifc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ISO-10303-21; | ||
HEADER; | ||
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); | ||
FILE_NAME('','2022-10-01T16:31:47',(),(),'IfcOpenShell 0.7.0','IfcOpenShell 0.7.0',''); | ||
FILE_SCHEMA(('IFC4')); | ||
ENDSEC; | ||
DATA; | ||
#5=IFCPROPERTYLISTVALUE('0axfTuaRz8Zg2iRvSksWX_',$,(IFCDATETIME('2008-12-27_18:00:04'),IFCDATETIME('-2018-12-27T15:00:04.02'),IFCDATETIME('80-8-03T00:00:00'),IFCDATETIME('0000-8-03T00:00:00'),IFCDATETIME('-2018-26-12T15:04:02')),$) | ||
ENDSEC; | ||
END-ISO-10303-21; |
10 changes: 10 additions & 0 deletions
10
src/ifcopenshell-python/test/fixtures/validate/pass-datetimes.ifc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ISO-10303-21; | ||
HEADER; | ||
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); | ||
FILE_NAME('','2022-10-01T16:31:47',(),(),'IfcOpenShell 0.7.0','IfcOpenShell 0.7.0',''); | ||
FILE_SCHEMA(('IFC4')); | ||
ENDSEC; | ||
DATA; | ||
#5=IFCPROPERTYLISTVALUE('0axfTuaRz8Zg2iRvSksWX_',$,(IFCDATETIME('2018-12-27T15:00:04.000054'),IFCDATETIME('-2018-12-27T15:00:04.02'),IFCDATETIME('0480-08-03T00:00:00'),IFCDATETIME('-12000-01-02T00:00:00'),IFCDATETIME('-0480-08-03T00:00:00')),$) | ||
ENDSEC; | ||
END-ISO-10303-21; |