org.junit.experimental.theories.DataPoints Java Examples
The following examples show how to use
org.junit.experimental.theories.DataPoints.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MutableAsciiBufferTest.java From artio with Apache License 2.0 | 6 votes |
@DataPoints public static int[][] valuesAndLengths() { return new int[][] { {1, 1}, {10, 2}, {100, 3}, {1000, 4}, {12, 2}, {123, 3}, {2345, 4}, {9, 1}, {99, 2}, {999, 3}, {9999, 4}, }; }
Example #2
Source File: NumberOfDigitsIntegrationTest.java From tutorials with MIT License | 6 votes |
@DataPoints public static int[][] lowestIntegers() { return new int[][]{ {1, 1}, {2, 10}, {3, 100}, {4, 1000}, {5, 10000}, {6, 100000}, {7, 1000000}, {8, 10000000}, {9, 100000000}, {10, 1000000000} }; }
Example #3
Source File: BashSecretPatternFactoryTest.java From credentials-binding-plugin with MIT License | 6 votes |
@DataPoints public static List<String> generatePasswords() { Random random = new Random(100); List<String> passwords = new ArrayList<>(10); for (int i = 0; i < 10; i++) { int length = random.nextInt(24) + 8; StringBuilder sb = new StringBuilder(length); for (int j = 0; j < length; j++) { // choose a (printable) character in the closed range [' ', '~'] // 0x7f is DEL, 0x7e is ~, and space is the first printable ASCII character char next = (char) (' ' + random.nextInt('\u007f' - ' ')); sb.append(next); } passwords.add(sb.toString()); } return passwords; }
Example #4
Source File: NumberOfDigitsIntegrationTest.java From tutorials with MIT License | 6 votes |
@DataPoints public static int[][] randomIntegers() { return new int[][]{ {1, 1}, {2, 14}, {3, 549}, {4, 1136}, {5, 25340}, {6, 134321}, {7, 1435432}, {8, 54234129}, {9, 113683912}, {10, 1534031982} }; }
Example #5
Source File: ExhaustiveLongEncodingTest.java From spliceengine with GNU Affero General Public License v3.0 | 6 votes |
@DataPoints public static long[] powersOf2(){ LongArrayList dataPoints = new LongArrayList(100); long l = 1l; while(l>0){ dataPoints.add(l); dataPoints.add(-l); dataPoints.add(3*l); dataPoints.add(-3*l); dataPoints.add(5*l); dataPoints.add(-5*l); dataPoints.add(7*l); dataPoints.add(-7*l); l<<=1; } return dataPoints.toArray(); }
Example #6
Source File: ExhaustiveBigDecimalEncodingTest.java From spliceengine with GNU Affero General Public License v3.0 | 6 votes |
@DataPoints public static BigDecimal[] knownProblemPoints(){ return new BigDecimal[]{ BigDecimal.valueOf(-9208636019293794487l), //DB-3421 BigDecimal.valueOf(-9169196554323565708l), //DB-3421 BigDecimal.valueOf(-9219236770852362184l), //contains 0 bytes internally BigDecimal.valueOf(Integer.MIN_VALUE), BigDecimal.valueOf(Integer.MAX_VALUE), BigDecimal.valueOf(Long.MIN_VALUE), BigDecimal.valueOf(Long.MAX_VALUE), BigDecimal.valueOf(Long.MAX_VALUE | Long.MIN_VALUE), //all 1s BigDecimal.valueOf(Integer.MAX_VALUE| Integer.MIN_VALUE), //all 1s, but only in the integer space BigDecimal.valueOf(18278), BigDecimal.ZERO, BigDecimal.ONE, BigDecimal.TEN, }; }
Example #7
Source File: AlmquistShellSecretPatternFactoryTest.java From credentials-binding-plugin with MIT License | 6 votes |
@DataPoints public static List<String> generatePasswords() { Random random = new Random(100); List<String> passwords = new ArrayList<>(10); for (int i = 0; i < 10; i++) { int length = random.nextInt(24) + 8; StringBuilder sb = new StringBuilder(length); for (int j = 0; j < length; j++) { // choose a (printable) character in the closed range [' ', '~'] // 0x7f is DEL, 0x7e is ~, and space is the first printable ASCII character char next = (char) (' ' + random.nextInt('\u007f' - ' ')); sb.append(next); } passwords.add(sb.toString()); } return passwords; }
Example #8
Source File: NumberOfDigitsIntegrationTest.java From tutorials with MIT License | 6 votes |
@DataPoints public static int[][] highestIntegers() { return new int[][]{ {1, 9}, {2, 99}, {3, 999}, {4, 9999}, {5, 99999}, {6, 999999}, {7, 9999999}, {8, 99999999}, {9, 999999999}, {10, Integer.MAX_VALUE} }; }
Example #9
Source File: SaxonNativeRunnerAppTest.java From intellij-xquery with Apache License 2.0 | 6 votes |
@DataPoints public static DataPair[] getSaxonCompatibleData() { return new DataPair[]{ DataPair.pair(XS_NON_NEGATIVE_INTEGER, NUMERIC_VALUE), DataPair.pair(XS_POSITIVE_INTEGER, NUMERIC_VALUE), DataPair.pair(XS_NON_POSITIVE_INTEGER, NEGATIVE_NUMERIC_VALUE), DataPair.pair(XS_NEGATIVE_INTEGER, NEGATIVE_NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_INT, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_SHORT, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_LONG, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_BYTE, "10"), DataPair.pair(XS_DURATION, "P3Y6M4DT12H30M5S"), DataPair.pair(XS_BYTE, "32"), DataPair.pair(XS_NORMALIZED_STRING, VALUE), DataPair.pair(XS_TOKEN, VALUE), DataPair.pair(XS_LANGUAGE, VALUE), DataPair.pair(XS_DATE_TIME_STAMP, "2013-12-31T23:59:59Z"), DataPair.pair(XS_UNTYPED, VALUE), DataPair.pair(XS_UNTYPED_ATOMIC, VALUE), DataPair.pair(TEXT, VALUE), }; }
Example #10
Source File: SaxonRunnerAppTest.java From intellij-xquery with Apache License 2.0 | 6 votes |
@DataPoints public static DataPair[] getSaxonCompatibleData() { return new DataPair[]{ DataPair.pair(XS_NON_NEGATIVE_INTEGER, NUMERIC_VALUE), DataPair.pair(XS_POSITIVE_INTEGER, NUMERIC_VALUE), DataPair.pair(XS_NON_POSITIVE_INTEGER, NEGATIVE_NUMERIC_VALUE), DataPair.pair(XS_NEGATIVE_INTEGER, NEGATIVE_NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_INT, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_SHORT, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_LONG, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_BYTE, "10"), DataPair.pair(XS_DURATION, "P3Y6M4DT12H30M5S"), DataPair.pair(XS_BYTE, "32"), DataPair.pair(XS_NORMALIZED_STRING, VALUE), DataPair.pair(XS_TOKEN, VALUE), DataPair.pair(XS_LANGUAGE, VALUE), DataPair.pair(XS_UNTYPED_ATOMIC, VALUE), DataPair.pair(TEXT, VALUE), }; }
Example #11
Source File: RunnerAppTest.java From intellij-xquery with Apache License 2.0 | 6 votes |
@DataPoints public static DataPair[] getFullyCompatibleData() { return new DataPair[]{ DataPair.pair(XS_INTEGER, NUMERIC_VALUE), DataPair.pair(XS_INT, NUMERIC_VALUE), DataPair.pair(XS_SHORT, NUMERIC_VALUE), DataPair.pair(XS_LONG, NUMERIC_VALUE), DataPair.pair(XS_DECIMAL, FLOATING_POINT_VALUE), DataPair.pair(XS_DOUBLE, FLOATING_POINT_VALUE), DataPair.pair(XS_FLOAT, FLOATING_POINT_VALUE), DataPair.pair(XS_BOOLEAN, "true"), DataPair.pair(XS_STRING, VALUE), DataPair.pair(XS_HEX_BINARY, "FFFF"), DataPair.pair(XS_DAY_TIME_DURATION, "P4DT12H30M5S"), DataPair.pair(XS_YEAR_MONTH_DURATION, "P3Y6M"), DataPair.pair(XS_DATE, "2013-12-31"), DataPair.pair(XS_DATE_TIME, "2013-12-31T23:59:59"), DataPair.pair(XS_TIME, "23:59:59"), DataPair.pair(XS_G_DAY, "---01"), DataPair.pair(XS_G_MONTH, "--01"), DataPair.pair(XS_G_MONTH_DAY, "--01-01"), DataPair.pair(XS_G_YEAR, "0001"), DataPair.pair(XS_G_YEAR_MONTH, "0001-01"), DataPair.pair(XS_ANY_URI, VALUE), }; }
Example #12
Source File: CustomLogParserTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 6 votes |
@SuppressWarnings("ArraysAsListWithZeroOrOneArgument") // makes it more symmetric @DataPoints("validParameters") public static T[] validParameters() { return new T[] { t("B.m()", null, asList()), t("B.m(NAME)", null, asList(LoggerInitializerParameter.NAME)), t("B.m(TYPE)", null, asList(LoggerInitializerParameter.TYPE)), t("B.m(NULL)", null, asList(LoggerInitializerParameter.NULL)), t("B.m(NAME,NULL,NAME)", null, asList(LoggerInitializerParameter.NAME, LoggerInitializerParameter.NULL, LoggerInitializerParameter.NAME)), t("B.m(NAME,TOPIC)", asList(LoggerInitializerParameter.NAME, LoggerInitializerParameter.TOPIC), null), t("B.m(TOPIC,TOPIC)(NULL)", asList(LoggerInitializerParameter.TOPIC, LoggerInitializerParameter.TOPIC), asList(LoggerInitializerParameter.NULL)), t("B.m()(TOPIC,TYPE)", asList(LoggerInitializerParameter.TOPIC, LoggerInitializerParameter.TYPE), asList()) }; }
Example #13
Source File: AbstractODataResourceTest.java From io with Apache License 2.0 | 6 votes |
/** * Double型の有効値チェックテストパターンを作成. * @return テストパターン */ @DataPoints public static Fixture[] getFixture() { Fixture[] datas = { new Fixture("負の最小値(-1.79e308d)の場合に例外がスローされないこと", -1.79e308d, true), new Fixture("負の最大値(-2.23e-308d)の場合に例外がスローされないこと", -2.23e-308d, true), new Fixture("正の最小値(2.23e-308d)の場合に例外がスローされないこと", 2.23e-308d, true), new Fixture("正の最大値(1.79e308d)の場合に例外がスローされないこと", 1.79e308d, true), new Fixture("負の最小値より小さい値(-1.791e308d)の場合に例外コード[PR400-OD-0006]の例外がスローされること", -1.791e308d, false), new Fixture("負の最小値より大きい値(-1.789e308d)の場合に例外がスローされないこと", -1.789e308d, true), new Fixture("負の最大値より小さい値(-2.231e-308d)の場合に例外がスローされないこと", -2.231e-308d, true), new Fixture("負の最大値より大きい値(-2.229e-308d)の場合に例外コード[PR400-OD-0006]の例外がスローされること", -2.229e-308d, false), new Fixture("正の最小値より小さい値(2.229e-308d)の場合に例外コード[PR400-OD-0006]の例外がスローされること", 2.229e-308d, false), new Fixture("正の最小値より大きい値(2.231e-308d)の場合に例外がスローされないこと", 2.231e-308d, true), new Fixture("正の最大値より小さい値(1.789e308d)の場合に例外がスローされないこと", 1.789e308d, true), new Fixture("正の最大値より大きい値(1.791e308d)の場合に例外コード[PR400-OD-0006]の例外がスローされること", 1.791e308d, false), new Fixture("0の場合にtrueが返却されること", 0d, true) }; return datas; }
Example #14
Source File: RangeHeaderHandlerTest.java From io with Apache License 2.0 | 6 votes |
/** * 無視系ーヘッダ無視パターンテストデータ. 無効なレンジヘッダフィールドの指定のテスト * @return テストデータ */ @DataPoints public static Fixture[] getFixture() { Fixture[] datas = { // ※前提 first-byte-pos:a last-byte-pos:b suffix-length:c entitybody:Z // b < Z < a(開始と終端がひっくり返っている) new Fixture(1, "bytes=500-10", 100), // b < a < Z(開始と終端がひっくり返っている) new Fixture(2, "bytes=50-10", 100), // -がない場合 new Fixture(3, "bytes=50", 100), // c = 0 new Fixture(4, "bytes=-0", 100), // byte-unitがない場合 new Fixture(5, "hoge=10-20", 100), // aが文字列の場合 new Fixture(6, "bytes=hoge-20", 100), // bが文字列の場合 new Fixture(7, "bytes=10-hoge", 100), // aが負の数の場合 new Fixture(8, "bytes=-10-11", 100), // bが負の数の場合 new Fixture(8, "bytes=10--11", 100)}; return datas; }
Example #15
Source File: RangeHeaderHandlerTest.java From io with Apache License 2.0 | 6 votes |
/** * 正常系テストデータ. 正常なレンジヘッダフィールドが指定された場合のテスト * @return テストデータ */ @DataPoints public static Fixture[] getFixture() { Fixture[] datas = { // ※前提 first-byte-pos:a last-byte-pos:b suffix-length:c entitylength:Z // a = 0 < b new Fixture(1, "bytes=0-26", 100, 0, 26, 27, "bytes 0-26/100"), // a ≠ 0 < b new Fixture(2, "bytes=3-7", 100, 3, 7, 5, "bytes 3-7/100"), // bがない場合は、entitybodyの最後までを終端として扱う new Fixture(3, "bytes=10-", 100, 10, 99, 90, "bytes 10-99/100"), // Z<bの場合は、entitybodyの最後までを終端として扱う new Fixture(4, "bytes=10-150", 100, 10, 99, 90, "bytes 10-99/100"), // c<Zの場合(開始が省略)は、ファイルの終端からc分を扱う new Fixture(5, "bytes=-10", 100, 90, 99, 10, "bytes 90-99/100"), // c>Zの場合(開始が省略かつファイルサイズより指定が大きい)は、ファイル全体を扱う new Fixture(6, "bytes=-150", 100, 0, 99, 100, "bytes 0-99/100"), // a=b場合 new Fixture(7, "bytes=10-10", 100, 10, 10, 1, "bytes 10-10/100"), // a=b=Zの場合 new Fixture(8, "bytes=99-99", 100, 99, 99, 1, "bytes 99-99/100") }; return datas; }
Example #16
Source File: ODataUtilsTest.java From io with Apache License 2.0 | 6 votes |
/** * Double型の有効値チェックテストパターンを作成. * @return テストパターン */ @DataPoints public static FixtureForDouble[] getFixture() { FixtureForDouble[] datas = { new FixtureForDouble("負の最小値(-1.79e308d)の場合にtrueが返却されること", -1.79e308d, true), new FixtureForDouble("負の最大値(-2.23e-308d)の場合にtrueが返却されること", -2.23e-308d, true), new FixtureForDouble("正の最小値(2.23e-308d)の場合にtrueが返却されること", 2.23e-308d, true), new FixtureForDouble("正の最大値(1.79e308d)の場合にtrueが返却されること", 1.79e308d, true), new FixtureForDouble("負の最小値より小さい値(-1.791e308d)の場合にfalseが返却されること", -1.791e308d, false), new FixtureForDouble("負の最小値より大きい値(-1.789e308d)の場合にtrueが返却されること", -1.789e308d, true), new FixtureForDouble("負の最大値より小さい値(-2.231e-308d)の場合にtrueが返却されること", -2.231e-308d, true), new FixtureForDouble("負の最大値より大きい値(-2.229e-308d)の場合にfalseが返却されること", -2.229e-308d, false), new FixtureForDouble("正の最小値より小さい値(2.229e-308d)の場合にfalseが返却されること", 2.229e-308d, false), new FixtureForDouble("正の最小値より大きい値(2.231e-308d)の場合にtrueが返却されること", 2.231e-308d, true), new FixtureForDouble("正の最大値より小さい値(1.789e308d)の場合にtrueが返却されること", 1.789e308d, true), new FixtureForDouble("正の最大値より大きい値(1.791e308d)の場合にfalseが返却されること", 1.791e308d, false), new FixtureForDouble("0dの場合にtrueが返却されること", 0d, true), }; return datas; }
Example #17
Source File: ZorbaRunnerAppTest.java From intellij-xquery with Apache License 2.0 | 5 votes |
@DataPoints public static DataPair[] getZorbaCompatibleData() { return new DataPair[]{ DataPair.pair(XS_NON_NEGATIVE_INTEGER, NUMERIC_VALUE), DataPair.pair(XS_POSITIVE_INTEGER, NUMERIC_VALUE), DataPair.pair(XS_NON_POSITIVE_INTEGER, NEGATIVE_NUMERIC_VALUE), DataPair.pair(XS_NEGATIVE_INTEGER, NEGATIVE_NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_INT, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_SHORT, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_LONG, NUMERIC_VALUE), DataPair.pair(XS_UNSIGNED_BYTE, "10"), DataPair.pair(XS_DURATION, "P3Y6M4DT12H30M5S"), }; }
Example #18
Source File: BaseXNativeRunnerAppTest.java From intellij-xquery with Apache License 2.0 | 5 votes |
@DataPoints public static DataPair[] getBaseXCompatibleData() { return new DataPair[]{ DataPair.pair(XS_DURATION, "P3Y6M4DT12H30M5S"), DataPair.pair(XS_BYTE, "32"), DataPair.pair(XS_NORMALIZED_STRING, VALUE), DataPair.pair(XS_TOKEN, VALUE), DataPair.pair(XS_LANGUAGE, VALUE), DataPair.pair(XS_UNTYPED_ATOMIC, VALUE), DataPair.pair(TEXT, VALUE), }; }
Example #19
Source File: MarklogicRunnerAppTest.java From intellij-xquery with Apache License 2.0 | 5 votes |
@DataPoints public static DataPair[] getMarklogicCompatibleData() { return new DataPair[]{ DataPair.pair(XS_BYTE, "32"), DataPair.pair(XS_NORMALIZED_STRING, VALUE), DataPair.pair(XS_TOKEN, VALUE), DataPair.pair(XS_LANGUAGE, VALUE), DataPair.pair(XS_UNTYPED_ATOMIC, VALUE), DataPair.pair(TEXT, VALUE), }; }
Example #20
Source File: ExhaustiveLongEncodingTest.java From spliceengine with GNU Affero General Public License v3.0 | 5 votes |
@DataPoints public static long[] knownProblemPoints(){ return new long[]{ -9208636019293794487l, //DB-3421 -9169196554323565708l, //DB-3421 -9219236770852362184l, //contains 0 bytes internally Integer.MIN_VALUE, Integer.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE, Long.MAX_VALUE | Long.MIN_VALUE, //all 1s Integer.MAX_VALUE| Integer.MIN_VALUE, //all 1s, but only in the integer space 18278 }; }
Example #21
Source File: RangeHeaderHandlerTest.java From io with Apache License 2.0 | 5 votes |
/** * 異常系ー416レスポンスパターンテストデータ. 開始値がエンティティサイズより大きい場合のテスト. * @return テストデータ */ @DataPoints public static Fixture[] getFixture() { Fixture[] datas = { // ※前提 first-byte-pos:a last-byte-pos:b suffix-length:c entitybody:Z // b < Z < a new Fixture(1, "bytes=200-300", 100) }; return datas; }
Example #22
Source File: BaseXLocalRunnerAppTest.java From intellij-xquery with Apache License 2.0 | 5 votes |
@DataPoints public static DataPair[] getBaseXCompatibleData() { return new DataPair[]{ DataPair.pair(XS_DURATION, "P3Y6M4DT12H30M5S"), DataPair.pair(XS_BYTE, "32"), DataPair.pair(XS_NORMALIZED_STRING, VALUE), DataPair.pair(XS_TOKEN, VALUE), DataPair.pair(XS_LANGUAGE, VALUE), DataPair.pair(XS_UNTYPED_ATOMIC, VALUE), DataPair.pair(TEXT, VALUE), }; }
Example #23
Source File: ExistNativeRunnerAppTest.java From intellij-xquery with Apache License 2.0 | 5 votes |
@DataPoints public static DataPair[] getExistCompatibleData() { return new DataPair[]{ DataPair.pair(XS_DURATION, "P3Y6M4DT12H30M5S"), DataPair.pair(XS_BYTE, "32"), DataPair.pair(XS_NORMALIZED_STRING, VALUE), DataPair.pair(XS_TOKEN, VALUE), DataPair.pair(XS_LANGUAGE, VALUE), DataPair.pair(XS_UNTYPED_ATOMIC, VALUE), }; }
Example #24
Source File: JournalEntryTest.java From barge with Apache License 2.0 | 5 votes |
@DataPoints public static Object[] entries() { return new Object[]{ new Commit(42), new Append(12, new Entry("foo".getBytes(), 2)), new Term(3), new Snapshot(12, 14, "bar"), new Vote("baz") }; }
Example #25
Source File: MonthYearTest.java From artio with Apache License 2.0 | 5 votes |
@DataPoints("invalidMonthYearsWithDay") public static Iterable<Object[]> invalidMonthYearsWithDay() { return Arrays.asList( new Object[]{ "00010101" }, new Object[]{ "20150225" }, new Object[]{ "99991231" } ); }
Example #26
Source File: AbstractEncoderTest.java From netty-4.1.22 with Apache License 2.0 | 5 votes |
@DataPoints("smallData") public static ByteBuf[] smallData() { ByteBuf heap = Unpooled.wrappedBuffer(BYTES_SMALL); ByteBuf direct = Unpooled.directBuffer(BYTES_SMALL.length); direct.writeBytes(BYTES_SMALL); return new ByteBuf[] {heap, direct}; }
Example #27
Source File: MonthYearTest.java From artio with Apache License 2.0 | 5 votes |
@DataPoints("validMonthYearsWithDay") public static Iterable<Object[]> validMonthYearsWithDay() { return Arrays.asList( new Object[]{ "00010101", MonthYear.withDayOfMonth(1, JANUARY, 1) }, new Object[]{ "20150225", MonthYear.withDayOfMonth(2015, FEBRUARY, 25) }, new Object[]{ "99991231", MonthYear.withDayOfMonth(9999, DECEMBER, 31) } ); }
Example #28
Source File: MonthYearTest.java From artio with Apache License 2.0 | 5 votes |
@DataPoints("validMonthYears") public static Iterable<Object[]> validMonthYears() { return Arrays.asList( new Object[]{ "000101", MonthYear.of(1, JANUARY) }, new Object[]{ "201502", MonthYear.of(2015, FEBRUARY) }, new Object[]{ "999912", MonthYear.of(9999, DECEMBER) } ); }
Example #29
Source File: MonthYearTest.java From artio with Apache License 2.0 | 5 votes |
@DataPoints("validMonthYearsWithWeek") public static Iterable<Object[]> validMonthYearsWithWeek() { return Arrays.asList( new Object[]{ "000101w1", MonthYear.withWeekOfMonth(1, JANUARY, 1) }, new Object[]{ "201502w5", MonthYear.withWeekOfMonth(2015, FEBRUARY, 5) }, new Object[]{ "999912w3", MonthYear.withWeekOfMonth(9999, DECEMBER, 3) } ); }
Example #30
Source File: DcJsonWriterTest.java From io with Apache License 2.0 | 5 votes |
/** * Double型の出力フォーマットチェックテストパターンを作成. * @return テストパターン */ @DataPoints public static Fixture[] getFixture() { Fixture[] datas = { new Fixture("1.0が1になること", 1.0d, "1"), new Fixture("1.00000が1になること", 1.000000d, "1"), new Fixture("1234567が1234567になること", 1234567d, "1234567"), new Fixture("12345678が12345678になること", 12345678d, "12345678"), new Fixture("123456789012345が123456789012345になること", 123456789012345d, "123456789012345"), new Fixture("1234567890123456が1.234567890123456E15になること", 1234567890123456d, "1.234567890123456E15"), new Fixture("1234567890123456789が1.23456789012345677E18になること", 1234567890123456789d, "1.23456789012345677E18"), new Fixture("0.1が0.1になること", 0.1d, "0.1"), new Fixture("0.1234567890が0.123456789になること", 0.1234567890d, "0.123456789"), new Fixture("0.12345678901234が0.12345678901234になること", 0.12345678901234d, "0.12345678901234"), new Fixture("0.123456789012345が0.123456789012345になること", 0.123456789012345d, "0.123456789012345"), new Fixture("0.12345678901234567が0.12345678901234566になること", 0.12345678901234567d, "0.12345678901234566"), new Fixture("1e1が10になること", 1e1d, "10"), new Fixture("1e6が1000000になること", 1e6d, "1000000"), new Fixture("1e7が10000000になること", 1e7d, "10000000"), new Fixture("1e14が100000000000000になること", 1e14d, "100000000000000"), new Fixture("1e15が1e15になること", 1e15d, "1.0E15"), new Fixture("1e23が9.999999999999999E22になること", 1e23d, "9.999999999999999E22"), new Fixture("1e-1が0.1になること", 1e-1d, "0.1"), new Fixture("1e-3が0.001になること", 1e-3d, "0.001"), new Fixture("1e-4が0.0001になること", 1e-4d, "0.0001"), new Fixture("1e-14が0.00000000000001になること", 1e-14d, "0.00000000000001"), new Fixture("1e-15が1e-15になること", 1e-15d, "1.0E-15") }; return datas; }