José Pedro
14bf74389c
Added back float and double parsing tests, accidentally removed in the previous commit.
2018-01-14 19:12:14 +00:00
José Pedro
71e754fe2f
BCL tests.
2018-01-14 16:58:25 +00:00
fanoI
d19e3f867b
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs
2018-01-03 22:22:31 +01:00
fanoI
b33724190b
Finally Directory.Info function again calling the right plug too: IFileSystemObject_get_Exists!
...
- Modified String.Compare() to be totally managed code & added tests
- Clean up
2018-01-03 22:17:51 +01:00
Jasper
2049d9c508
Moved float tests to single tests
2017-12-31 17:26:40 +01:00
Jasper
c2b83a6779
Fixed Pow function to handle edge cases and wrote tests to check that they are handled correctly.
2017-12-31 16:50:18 +01:00
Jasper
fe9b4c7e1d
Completed requested changes
2017-12-30 18:42:38 +01:00
Jasper
3c308271ee
Added tests for Double and Float parsing
2017-12-30 17:44:30 +01:00
Jasper
527108dcdb
Added tests for Math.Exp and Math.Pow
2017-12-30 12:22:26 +01:00
fanoI
f2016193ba
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Test.sln
# Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
2017-12-24 21:34:41 +01:00
José Pedro
e69656c127
Added tests.
2017-12-17 18:53:30 +00:00
fanoI
51fac7ada4
Plugged FileInfo
...
- Added tests for FileInfo
- Added tests for Binary Reader/Writer
- Unified StreamReader and StreamWriter in a unique test
2017-12-10 20:35:29 +01:00
fanoI
1719083522
Make EncodingTest compile :-(
2017-12-01 22:22:01 +01:00
fanoI
299c155f4c
Removed a lot of plugs from File: the promise is mantained it uses StreamReader / StreamWriter directly
...
- CosmosEncoding replacement of Encoding is not needed: Encoding runs perfectly on Cosmos!
- Added tests to BCL for UTF8Encoding
- StreamWriter does not needs a plug anymore, TextWriter is plugged instead but the plug is really the Ctor only
- Commented COSMOSDEBUG
2017-12-01 22:21:15 +01:00
fanoI
eb0a469315
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Test.sln
# Tests/Cosmos.Kernel.Tests.Fat/Kernel.cs
# Tests/Cosmos.TestRunner.Core/TestKernelSets.cs
2017-10-29 18:09:47 +01:00
José Pedro
3b6cade435
Fixed Array.Copy.
2017-10-27 22:45:31 +01:00
José Pedro
047cbecde6
String tests.
2017-10-23 20:48:25 +01:00
José Pedro
054897c50e
Merge latest from master.
2017-10-23 01:35:11 +01:00
Charles Betros
fbdb7c1b9e
Dictionary work
2017-10-15 11:32:26 -05:00
fanoI
806e6e9e89
More FAT work
...
- Make DirectoryInfo work
- Refactored FAT TestRunner in a similar way to the BCL one
- Bugfix: Path.GetTempPath() did not returned a complete path
- Added to VFS "naive" support to Get / Set file attributes (for now only Get is supported)
- Added more debug logs
2017-09-24 18:12:58 +02:00
Kudzu
fa4c223452
Move again because of submodules being less than half baked in git.
2017-08-10 16:04:19 -04:00
Kudzu
fa00b78441
New Cosmos parent dir
2017-08-08 11:29:41 -04:00
invisal
0cee95b948
Add EqualityHelper.DoubleAreEqual()
2017-07-21 10:25:54 +07:00
invisal
28a0eee023
Fixed the Math.Sqrt() test case where Math.Sqrt(0) == 0
2017-07-20 20:03:13 +07:00
invisal
bb684a1379
Handle edge case and more test case for Math.Sqrt()
2017-07-20 19:37:01 +07:00
invisal
6b46e948ce
Improve Math.Sqrt() implementation.
2017-07-20 12:31:07 +07:00
José Pedro
c0c0884f5f
Fixes.
2017-07-17 19:48:21 +01:00
José Pedro
32bce706ac
Array.Copy fix.
...
Added List tests.
2017-07-16 22:28:30 +01:00
José Pedro
9c90f7eaae
Merge branch 'master'.
2017-05-22 01:51:41 +01:00
José Pedro
32d1f2502d
Fixed some plugs.
...
Fixed DebugConnector.Thread.
Compiler fixes.
2017-02-09 19:55:49 +00:00
kaleb
ef489b0f2f
Dictionary test
2016-12-02 20:00:09 +10:00
José Pedro
91094a87ca
Fix MemberwiseClone.
...
Fix object sizes in Newobj.
Minor changes in Castclass and VTablesImpl.
2016-11-16 23:49:37 +00:00
Charles Betros
04ca044e34
Add array copy test.
2016-11-02 04:36:13 -05:00
fanoI
a277900369
- Fixed ldarga so it will work again with types > bytes
...
- Fixed typos on DoubleTest
- Restored GetNumberString() as it was on my commit of the end of August
2016-10-10 21:43:38 +02:00
Charles Betros
4b67c02f26
Fixed delegates and moved some assemblers.
2016-09-28 23:24:04 -05:00
Charles Betros
95f4dbad77
More memory work.
2016-09-11 07:53:45 -05:00
Charles Betros
a9cb616f86
Merge from master.
2016-09-07 19:42:40 -05:00
Charles Betros
71dfaac745
Merge from master
2016-09-07 19:24:30 -05:00
Charles Betros
4f13a49a85
Compiler changes for memory.
2016-09-03 00:40:33 -05:00
Charles Betros
85103e9d9b
RAT progress
2016-08-26 07:02:18 -05:00
fanoI
b16b034ff9
Restored Int32 tests and added another concat test to String.
2016-08-24 14:21:18 +02:00
fanoI
709741d569
Added file DictionaryTests.cs with preliminary not passing test of Dictionary BCL class
2016-08-22 17:18:40 +02:00
fanoI
e2f363a200
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.Compiler.Tests.Bcl/System/DoubleTest.cs
# Tests/Cosmos.Compiler.Tests.Bcl/System/SingleTest.cs
2016-08-22 17:12:59 +02:00
fanoI
ad960c9a1a
Continuation of Float work
...
- Fixed Single.ToString() on special cases (infinities, NaN and 0) and aumented the range of printable values
- Fixed Double.ToString(): it always printed "Double Overrange" for a bug in opcode ldarga
- Fixed opcode ldarga: the displacement of the argument variable was off of 4 bytes
- Fixed opcodes shr, shr_un and shl when the shift was more that 32 bytes, added to BCL relative tests
- Added BLC tests regarding BitConverter and unsafe code
- Moved the meat of the code of Single.ToString() and Double.ToString() to the class StringHelper together with the analogous methods for numer types
- Re-added _floatsignbit to CosmosAssembler.cs so the neg test should not fail anymore
- Removed all code relative to x87 that I had left under #if false
- Clean up
2016-08-22 16:31:22 +02:00
Charles Betros
3f47a50ea0
Comment failing tests.
2016-08-18 23:29:03 -05:00
fanoI
e6143b75df
Source lose some changes... forced them!
2016-07-31 19:55:12 +02:00
fanoI
6e1bfb8d92
- Implemented Neg Opcode for floating point
...
- Added test for Neg OpCode for float and double
- Conv.U8 wrongly changed the sign of double before converting it to ulong
- Div_Un, Add_Ovf and Add_Ovf_Un had code for floating point but they should not have that for ECMA specs
2016-07-17 17:05:00 +02:00
fanoI
790ba2312c
Added test for conversion to float to ulong
2016-07-03 19:28:13 +02:00
fanoI
0af7c5b78f
- Finally the conversion of an ulong to a double works (IL opcode conv.r.un is completed)
...
- TestRunner should not be Run in process!
- Removed all unused 'variables' in CosmosAssembler.cs
- Fixed X#: FloatStoreAndPop() ignored the RegisterSize value
2016-07-03 15:00:04 +02:00
fanoI
56beccb8af
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# source/Cosmos.sln
2016-06-26 15:09:13 +02:00