forked from bchavez/Bogus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Russian locale update. Feature parity with faker.js @ https://github.…
- Loading branch information
Showing
12 changed files
with
144 additions
and
36 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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,36 @@ | ||
using Bogus.DataSets; | ||
using FluentAssertions; | ||
using NUnit.Framework; | ||
|
||
namespace Bogus.Tests | ||
{ | ||
[TestFixture] | ||
public class HackerTests : SeededTest | ||
{ | ||
private Hacker hacker; | ||
|
||
|
||
[SetUp] | ||
public void BeforeEachTest() | ||
{ | ||
hacker = new Hacker(); | ||
} | ||
|
||
[Test] | ||
public void can_get_a_hacker_phrase() | ||
{ | ||
hacker.Phrase().Should().Be("Use the neural RAM driver, then you can calculate the neural driver!"); | ||
} | ||
|
||
[Test] | ||
public void make_sure_we_have_updated_ru_hacker_locale() | ||
{ | ||
var ruhacker = new Hacker("ru"); | ||
ruhacker.Adjective().Should().Be("многобайтный"); | ||
ruhacker.Noun().Should().Be("пропускная способность"); | ||
ruhacker.Verb().Should().Be("передавать"); | ||
ruhacker.IngVerb().Should().Be("определение количества"); | ||
} | ||
|
||
} | ||
} |
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
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
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
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
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
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
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
Submodule fakerjs
updated
from 57a16b to 6cdb93