Commit 8d90a2a0 authored by pintar's avatar pintar
Browse files

New tests for mininclusive and maxinclusive

parent 0838a498
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.1.7, Verify mapping of a float element with special minInclusive values
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_060107_mininclusive_003 {

    import from schema_Pos_060107_mininclusive_003 language "XSD" all;

    template E1 m_msg := -5;
//#TC 
}
+4 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<e1el
    xmlns="schema:Pos_060107_mininclusive_003"
>-5</e1el>
+11 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  targetNamespace="schema:Pos_060107_mininclusive_003"
  xmlns:types="schema:Pos_060107_mininclusive_003">
    <simpleType name="e1">
        <restriction base="float">
        <minInclusive value="-INF"/>
    </restriction>
    </simpleType>
    <element name="e1el" type="types:e1"/>
</schema>
 No newline at end of file
+13 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.1.7, Verify mapping of a float element with special minInclusive values
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_060107_mininclusive_004 {

    import from schema_Pos_060107_mininclusive_004 language "XSD" all;

    template E1 m_msg := 1.0;
//#TC 
}
+4 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<e1el
    xmlns="schema:Pos_060107_mininclusive_004"
>1.0</e1el>
Loading