This file contains hidden or 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
using System; | |
using System.Net.Http; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace SomeApp.Infrastructure | |
{ | |
/// <summary> | |
/// The set of extension methods for the <see cref="HttpRequestMessage" /> | |
/// class. |
This file contains hidden or 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
namespace MachineLearningBook.SpamDetector.UnitTests | |
module DataSetTests = | |
open System | |
open FSharp.Reflection | |
open MachineLearningBook.SpamDetector | |
open Xunit | |
open FsUnit.Xunit | |
type ``Parsing a DocType should produce the expected results`` () = | |
This file contains hidden or 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
namespace MachineLearningBook.SpamDetector.UnitTests | |
module SampleTests = | |
open System | |
open Xunit | |
open FsUnit.Xunit | |
// http://fsprojects.github.io/FsUnit/index.html | |
// http://fsprojects.github.io/FsUnit/xUnit.html | |
[<Fact>] |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Launches and controls a console test run using PhantomJS | |
.DESCRIPTION | |
Launches a console test run using PhantomJS by passing a custom runner script. Output from the test run is captured by this script to allow | |
for a rudimentary colorization syntax such that the console messages can be colored in the Windows command prompt. | |
For more detailed help, please use the -Help switch. | |
#> |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Launches and controls a console test run using PhantomJS | |
.DESCRIPTION | |
Launches a console test run using PhantomJS by passing a custom runner script. Output from the test run is captured by this script to allow | |
for a rudimentary colorization syntax such that the console messages can be colored in the Windows command prompt. | |
For more detailed help, please use the -Help switch. | |
#> |
NewerOlder