<commit_before>NFluent overview
==============

NFluent provides some helpers for Easy Software Testing in .NET. NFluent is highly inspired of the awesome FEST Fluent assertion/reflection Java library (http://fest.easytesting.org/)

- - -

Usage sample
------------

With NFluent, you can write some assertions like this (note: CollectionAssert here is part of the NUnit framework).


	var initialCollection = new List<Student>()
                                 {
                                     new Student() { Name = "Thomas", Age = 38 },
                                     new Student() { Name = "Achille", Age = 10 },
                                     new Student() { Name = "Anton", Age = 7 }
                                 };

	CollectionAssert.AreEqual(new[] {"Thomas", "Achille", "Anton"}, initialCollection.Properties("Name"));

- - -

Author(s)
--------- 
+ [<NAME>](mailto:<EMAIL>)<commit_msg>- Update the Readme.md file with a better code sample.<commit_after>NFluent overview
==============

NFluent provides some helpers for Easy Software Testing in .NET. NFluent is highly inspired of the awesome FEST Fluent assertion/reflection Java library (http://fest.easytesting.org/)

- - -

Usage sample
------------

With NFluent, you can write some assertions like this (note: CollectionAssert here is part of the NUnit framework).


	var collection = new List<Student> {
                                     new Student { Name = "Thomas", Age = 38 }, 
                                     new Student { Name = "Achille", Age = 10, Nationality = Nationality.French }, 
                                     new Student { Name = "Anton", Age = 7, Nationality = Nationality.French }, 
                                     new Student { Name = "Arjun", Age = 7, Nationality = Nationality.Indian }
                                 };

	CollectionAssert.AreEqual(new[] { "Thomas", "Achille", "Anton", "Arjun" }, collection.Properties("Name"));
	CollectionAssert.AreEqual(new[] { 38, 10, 7, 7 }, collection.Properties("Age"));
	CollectionAssert.AreEqual(new[] { Nationality.Unknown, Nationality.French, Nationality.French, Nationality.Indian }, collection.Properties("Nationality"));

- - -

Author(s)
--------- 
+ [<NAME>](mailto:<EMAIL>)
{'fraction_non_alphanumeric': 0.13981358189081225, 'fraction_numerical': 0.007545494895694629, 'mean_word_length': 2.1262135922330097, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6358248', 'n_tokens_mistral': 624, 'n_tokens_neox': 560, 'n_words': 181}