Commit graph

111 commits

Author SHA1 Message Date
fanoI
b3bd8cbd1e Merge branch 'master' of https://github.com/CosmosOS/Cosmos into hashtable-work 2018-04-15 14:32:23 +02:00
Mido Elgamal
5faf3f58e2 Fixed String Replace 2018-04-09 15:27:32 -04:00
fanoI
d0f8fa85c3
Merge pull request #912 from quajak/master
Added Math.Floor function with tests
2018-02-27 23:39:56 +01:00
José Pedro
5e51301d5c
Added tests for Convert.
Added back plugs for Decimal.
Plugged Int32.ToString(IFormatProvider).
2018-02-26 00:22:06 +00:00
Quajak
4cb8d65752 Added Math.Floor function with tests (Tests are simply copied from ceiling and changed results) 2018-02-25 21:10:10 +01:00
Arawn Davies
1d8642f87c
Merge pull request #836 from KingLuigi4932/patch-11
[From IL2CPU#28] Fix Double and Float Arrays
2018-02-25 16:32:34 +00:00
fanoI
e240641863 Created plugs to make Hashtable work (at least when an object is key).
There are issue however:
1. IL2CPU modifications are needed (see the PR for the list of the PR of IL2CPU to merge to make this usable)
2. Some fix in IL2CPU seems to give problems with Dictionary (VMT problem again?)
3. Hashtable with valuetype as key doesn't work (ContainsKey() always return false)
2018-02-25 15:27:39 +01:00
Quajak
496144ab71 Added test to check for value larger than int max 2018-02-24 17:25:31 +01:00
Quajak
638078f31f Fixed expected value for negative double tests 2018-02-24 17:08:44 +01:00
Quajak
63f140f0ba Added new ceiling command 2018-02-24 15:23:44 +01:00
Qujak
350b1aa831 Added special test for sin and cosine 2018-02-23 16:37:35 +01:00
Qujak
40fef5ba6a Fixed naming problem 2018-02-22 20:03:06 +01:00
Arawn Davies
ea2c7a2a8d
Update BitConverterTest.cs
Byte[] doubleBytes was already defined, so redefining it instead of creating a new instance in that scope, should fix it
2018-02-22 11:28:58 +00:00
Qujak
dc27f898fb
Merge branch 'master' into master 2018-02-22 08:17:50 +01:00
Qujak
e9b463c1e5 Added tan and atan method with tests 2018-02-21 21:41:48 +01:00
Qujak
b5cc828624 Added BitConverter toDouble method and added tests
Fixed log function
2018-02-21 17:58:47 +01:00
Qujak
d89ba10244 Rewrote log functions and added tests
Ensured that the copyright notice from fdlibm is clearly present at the beginning of the file
2018-02-21 10:16:22 +01:00
fanoI
c8c2bdfc20 Dictionary<String, T> works finally! 2018-02-04 18:48:58 +01:00
fanoI
1fb30deebd Updated to the New Project System 2018-01-28 02:57:08 +01:00
fanoI
46d5c0b63a
Merge branch 'master' into extended-ascii 2018-01-27 21:15:05 +01:00
fanoI
c98978c70c Compiler.Tests.Bcl.System.Text -> Cosmos.Compiler.Tests.Bcl.System.Text 2018-01-27 21:12:08 +01:00
fanoI
7dadc52dc9 Fix merge conflicts 2018-01-27 20:17:17 +01:00
fanoI
4a990ac2af Added the concept of Encoding to the Console for now ASCII (default) and CP437 are supported (for others as CP858 I think it is needed to change font too)
- moved EncodingTest on Text subdir
- added ConsoleTest (not enabled by default)
- removed ASCIIEncodingImpl (it was not needed)
- Made plugs of Console better and added plugs for formatted versions
- Removed code to test Hashtable, Hashtable it will be a separate PR
2018-01-27 20:00:11 +01:00
ewoudje
22f67e6549 Thread.Sleep plug and added ThreadTest 2018-01-21 19:15:27 +01:00
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
c50b581d91 More work on Encoding
- Resolved problem with UTF8Enconding.BaseName property
- Started work to plug Hashtable to make the Encoding / Decoding more efficient
2018-01-10 20:29:05 +01:00
fanoI
ff78034a1c Added CP437 and CP858 (DOS Latin1) support to Encoding, CP858 is not working for VMT bugs. 2018-01-07 21:25:07 +01:00
Qujak
c31cfcef31 Changed Math.Acos and added tests 2018-01-07 20:06:02 +01:00
Qujak
e8aa997b07 Changed asin implementation and added tests 2018-01-07 18:55:36 +01:00
Qujak
67b3222404 Added Cos function with tests 2018-01-07 18:22:54 +01:00
Qujak
ba3d492adb Added sign function 2018-01-07 17:07:51 +01:00
Qujak
e33cddd5cb Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2018-01-07 15:14:21 +01:00
Qujak
393e99d95b -Added new sqrt function 2018-01-04 16:46:27 +01: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
KingLuigi4932
07a8b9fc13
Fix. 2017-12-23 22:37:20 +03:00
KingLuigi4932
a4e6fb2ff7
Unstoppable fix. 2017-12-23 22:32:32 +03:00
KingLuigi4932
2a6dcfe6e3
Fix. 2017-12-23 22:26:37 +03:00
KingLuigi4932
4af9397061
Replace Array.Copy with Assigning 2017-12-23 22:22:07 +03:00
KingLuigi4932
f7a7d45e87
Add FloatArray and DoubleArray Test 2017-12-23 22:11:21 +03: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